table of contents
other versions
- testing 3.2.4+ds-2
- unstable 3.2.4+ds-2
- experimental 3.2.4+git20250218+ds-1
SDL_GPUTextureSupportsSampleCount(3) | SDL3 FUNCTIONS | SDL_GPUTextureSupportsSampleCount(3) |
NAME¶
SDL_GPUTextureSupportsSampleCount - 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 a hardware-specific version of min(preferred, possible).
AVAILABILITY¶
This function is available since SDL 3.2.0.
SDL 3.2.4 | Simple Directmedia Layer |