sdlHasSse3 function

bool sdlHasSse3()

Determine whether the CPU has SSE3 features.

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

\returns true if the CPU has SSE3 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_HasSSE41 \sa SDL_HasSSE42

extern SDL_DECLSPEC bool SDLCALL SDL_HasSSE3(void)

Implementation

bool sdlHasSse3() {
  final sdlHasSse3LookupFunction =
      libSdl3.lookupFunction<Uint8 Function(), int Function()>('SDL_HasSSE3');
  return sdlHasSse3LookupFunction() == 1;
}