SDL_GPUSampleCount - Specifies the sample count of a texture.
Contents
Availability
This enum is available since SDL 3.2.0.
Description
Used in multisampling. Note that this value only applies when the texture is used as a render target.
Header File
Defined in SDL3/SDL_gpu.h
Name
SDL_GPUSampleCount - Specifies the sample count of a texture.
See Also
•(3), SDL_CreateGPUTexture(3), •(3), SDL_GPUTextureSupportsSampleCount(3) Simple Directmedia Layer SDL 3.2.10 SDL_GPUSampleCount(3type)
Synopsis
#include"SDL3/SDL.h"typedefenumSDL_GPUSampleCount{SDL_GPU_SAMPLECOUNT_1,/**<Nomultisampling.*/SDL_GPU_SAMPLECOUNT_2,/**<MSAA2x*/SDL_GPU_SAMPLECOUNT_4,/**<MSAA4x*/SDL_GPU_SAMPLECOUNT_8/**<MSAA8x*/}SDL_GPUSampleCount;