logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_GPUSampleCount - Specifies the sample count of a texture.

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;

See Also