SDL_GPUTextureSupportsSampleCount(3)

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.

Availability

This function is available since SDL 3.2.0.

From libsdl3-doc 3.2.10+ds-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.