Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

SDL_GPUStencilOp - Specifies what happens to a stored stencil value if stencil tests fail or pass.

Availability

       This enum is available since SDL 3.2.0.

Header File

       Defined in SDL3/SDL_gpu.h

Name

       SDL_GPUStencilOp - Specifies what happens to a stored stencil value if stencil tests fail or pass.

See Also

(3), SDL_CreateGPUGraphicsPipeline(3)

Simple Directmedia Layer                           SDL 3.2.10                            SDL_GPUStencilOp(3type)

Synopsis

#include"SDL3/SDL.h"typedefenumSDL_GPUStencilOp{SDL_GPU_STENCILOP_INVALID,SDL_GPU_STENCILOP_KEEP,/**<Keepsthecurrentvalue.*/SDL_GPU_STENCILOP_ZERO,/**<Setsthevalueto0.*/SDL_GPU_STENCILOP_REPLACE,/**<Setsthevaluetoreference.*/SDL_GPU_STENCILOP_INCREMENT_AND_CLAMP,/**<Incrementsthecurrentvalueandclampstothemaximumvalue.*/SDL_GPU_STENCILOP_DECREMENT_AND_CLAMP,/**<Decrementsthecurrentvalueandclampsto0.*/SDL_GPU_STENCILOP_INVERT,/**<Bitwise-invertsthecurrentvalue.*/SDL_GPU_STENCILOP_INCREMENT_AND_WRAP,/**<Incrementsthecurrentvalueandwrapsbackto0.*/SDL_GPU_STENCILOP_DECREMENT_AND_WRAP/**<Decrementsthecurrentvalueandwrapstothemaximumvalue.*/}SDL_GPUStencilOp;

See Also