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_GPUStencilOpState - A structure specifying the stencil operation state of a graphics pipeline.

Availability

       This struct is available since SDL 3.2.0.

Name

       SDL_GPUStencilOpState - A structure specifying the stencil operation state of a graphics pipeline.

See Also

SDL_GPUDepthStencilState(3type)

Simple Directmedia Layer                           SDL 3.2.20                       SDL_GPUStencilOpState(3type)

Synopsis

#include<SDL3/SDL_gpu.h>typedefstructSDL_GPUStencilOpState{SDL_GPUStencilOpfail_op;/**<Theactionperformedonsamplesthatfailthestenciltest.*/SDL_GPUStencilOppass_op;/**<Theactionperformedonsamplesthatpassthedepthandstenciltests.*/SDL_GPUStencilOpdepth_fail_op;/**<Theactionperformedonsamplesthatpassthestenciltestandfailthedepthtest.*/SDL_GPUCompareOpcompare_op;/**<Thecomparisonoperatorusedinthestenciltest.*/}SDL_GPUStencilOpState;

See Also