sdlHasSve2 function cpuinfo
Determine whether the CPU has SVE2 (Scalable Vector Extension 2).
This is only relevant on ARM64 Linux. On other platforms it always returns false.
\returns true if the CPU has SVE2, false otherwise.
\since This function is available since SDL 3.6.0.
extern SDL_DECLSPEC bool SDLCALL SDL_HasSVE2(void)
Implementation
bool sdlHasSve2() {
final sdlHasSve2LookupFunction = _libSdl
.lookupFunction<Uint8 Function(), int Function()>('SDL_HasSVE2');
return sdlHasSve2LookupFunction() == 1;
}