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