SDL_GPUTextureSupportsSampleCount3
Determines if a sample count for a texture format is supported.
Usage
#include "SDL3/SDL.h"
bool SDL_GPUTextureSupportsSampleCount( SDL_GPUDevice *device, SDL_GPUTextureFormat format, SDL_GPUSampleCount sample_count);
Header file
Defined in SDL3/SDL_gpu.h
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.