SDL_GPUTextureSupportsSampleCount

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

extern (C) nothrow @nogc extern
bool
SDL_GPUTextureSupportsSampleCount

Parameters

device SDL_GPUDevice*

a GPU context.

format SDL_GPUTextureFormat

the texture format to check.

sample_count SDL_GPUSampleCount

the sample count to check.

Return Value

Type: bool

a hardware-specific version of min(preferred, possible).

Meta