DOKK / manpages / debian 13 / libsdl3-doc / SDL_GPUTextureSupportsSampleCount.3.en
SDL_GPUTextureSupportsSampleCount(3) SDL3 FUNCTIONS SDL_GPUTextureSupportsSampleCount(3)

SDL_GPUTextureSupportsSampleCount - Determines if a sample count for a texture format is supported.

Defined in SDL3/SDL_gpu.h

#include "SDL3/SDL.h"
bool SDL_GPUTextureSupportsSampleCount(
    SDL_GPUDevice *device,
    SDL_GPUTextureFormat format,
    SDL_GPUSampleCount sample_count);

a GPU context.
the texture format to check.
the sample count to check.

Returns whether the sample count is supported for this texture format.

This function is available since SDL 3.2.0.

SDL 3.2.10 Simple Directmedia Layer