Function SDL_GPUTextureSupportsSampleCount
pub unsafe extern "C" fn SDL_GPUTextureSupportsSampleCount(
device: *mut SDL_GPUDevice,
format: SDL_GPUTextureFormat,
sample_count: SDL_GPUSampleCount,
) -> bool
Available on crate feature
dep_sdl3
only.Expand description
Determines if a sample count for a texture format is supported.
§Parameters
device
: a GPU context.format
: the texture format to check.sample_count
: the sample count to check.
§Return value
Returns a hardware-specific version of min(preferred, possible).
§Availability
This function is available since SDL 3.2.0.