sdlGpuSupportsProperties function
Checks for GPU runtime support.
\param props the properties to use. \returns true if supported, false otherwise.
\since This function is available since SDL 3.1.3.
\sa SDL_CreateGPUDeviceWithProperties
extern SDL_DECLSPEC bool SDLCALL SDL_GPUSupportsProperties( SDL_PropertiesID props)
Implementation
bool sdlGpuSupportsProperties(int props) {
final sdlGpuSupportsPropertiesLookupFunction = libSdl3.lookupFunction<
Uint8 Function(Uint32 props),
int Function(int props)>('SDL_GPUSupportsProperties');
return sdlGpuSupportsPropertiesLookupFunction(props) == 1;
}