sdlGpuSupportsProperties function gpu
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.2.0.
\sa SDL_CreateGPUDeviceWithProperties
extern SDL_DECLSPEC bool SDLCALL SDL_GPUSupportsProperties( SDL_PropertiesID props)
Implementation
bool sdlGpuSupportsProperties(int props) {
final sdlGpuSupportsPropertiesLookupFunction = _libSdl
.lookupFunction<Uint8 Function(Uint32 props), int Function(int props)>(
'SDL_GPUSupportsProperties',
);
return sdlGpuSupportsPropertiesLookupFunction(props) == 1;
}