sdlHasSse41 function

bool sdlHasSse41()

Determine whether the CPU has SSE4.1 features.

This always returns false on CPUs that aren't using Intel instruction sets.

\returns true if the CPU has SSE4.1 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_HasSSE42

extern SDL_DECLSPEC bool SDLCALL SDL_HasSSE41(void)

Implementation

bool sdlHasSse41() {
  final sdlHasSse41LookupFunction =
      libSdl3.lookupFunction<Uint8 Function(), int Function()>('SDL_HasSSE41');
  return sdlHasSse41LookupFunction() == 1;
}