Function SDL_GPUSupportsShaderFormats
pub unsafe extern "C" fn SDL_GPUSupportsShaderFormats(
format_flags: u32,
name: *const i8,
) -> bool
Available on crate feature
dep_sdl3
only.Expand description
Checks for GPU runtime support.
§Parameters
format_flags
: a bitflag indicating which shader formats the app is able to provide.name
: the preferred GPU driver, or NULL to let SDL pick the optimal driver.
§Return value
Returns true if supported, false otherwise.
§Availability
This function is available since SDL 3.2.0.