sdlHasSse function
Determine whether the CPU has SSE features.
This always returns false on CPUs that aren't using Intel instruction sets.
\returns true if the CPU has SSE 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_HasSSE2 \sa SDL_HasSSE3 \sa SDL_HasSSE41 \sa SDL_HasSSE42
extern SDL_DECLSPEC bool SDLCALL SDL_HasSSE(void)
Implementation
bool sdlHasSse() {
final sdlHasSseLookupFunction =
libSdl3.lookupFunction<Uint8 Function(), int Function()>('SDL_HasSSE');
return sdlHasSseLookupFunction() == 1;
}