Function SDL_GetGPUShaderFormats
Source pub unsafe extern "C" fn SDL_GetGPUShaderFormats(
device: *mut SDL_GPUDevice,
) -> SDL_GPUShaderFormat
Expand description
Returns the supported shader formats for this GPU context.
§Parameters
device: a GPU context to query.
§Return value
Returns a bitflag indicating which shader formats the driver is able to
consume.
§Availability
This function is available since SDL 3.2.0.