SDL_GPUTextureSupportsSampleCount - Man Page
Determines if a sample count for a texture format is supported.
Header File
Defined in SDL3/SDL_gpu.h
Synopsis
#include "SDL3/SDL.h" bool SDL_GPUTextureSupportsSampleCount( SDL_GPUDevice *device, SDL_GPUTextureFormat format, SDL_GPUSampleCount sample_count);
Function Parameters
- device
a GPU context.
- format
the texture format to check.
- sample_count
the sample count to check.
Return Value
Returns whether the sample count is supported for this texture format.
Availability
This function is available since SDL 3.2.0.
Referenced By
SDL 3.2.10 Simple Directmedia Layer SDL3 FUNCTIONS