sdlGetNumGpuDrivers function gpu
Get the number of GPU drivers compiled into SDL.
\returns the number of built in GPU drivers.
\since This function is available since SDL 3.2.0.
\sa SDL_GetGPUDriver
extern SDL_DECLSPEC int SDLCALL SDL_GetNumGPUDrivers(void)
Implementation
int sdlGetNumGpuDrivers() {
final sdlGetNumGpuDriversLookupFunction = _libSdl
.lookupFunction<Int32 Function(), int Function()>('SDL_GetNumGPUDrivers');
return sdlGetNumGpuDriversLookupFunction();
}