sdlHasSse42 function
Determine whether the CPU has SSE4.2 features.
This always returns false on CPUs that aren't using Intel instruction sets.
\returns true if the CPU has SSE4.2 features or false if not.
\threadsafety It is safe to call this function from any thread.
\since This function is available since SDL 3.1.3.
\sa SDL_HasSSE \sa SDL_HasSSE2 \sa SDL_HasSSE3 \sa SDL_HasSSE41
extern SDL_DECLSPEC bool SDLCALL SDL_HasSSE42(void)
Implementation
bool sdlHasSse42() {
final sdlHasSse42LookupFunction =
libSdl3.lookupFunction<Uint8 Function(), int Function()>('SDL_HasSSE42');
return sdlHasSse42LookupFunction() == 1;
}