#include <SDL_gpu.h>
A structure specifying the stencil operation state of a graphics pipeline.
- Since
- This struct is available since SDL 3.2.0.
- See also
- SDL_GPUDepthStencilState
-
SDL_GPUStencilOp
-
SDL_GPUCompareOp
Definition at line 1716 of file SDL_gpu.h.
◆ compare_op
The comparison operator used in the stencil test.
Definition at line 1721 of file SDL_gpu.h.
◆ depth_fail_op
The action performed on samples that pass the stencil test and fail the depth test.
Definition at line 1720 of file SDL_gpu.h.
◆ fail_op
The action performed on samples that fail the stencil test.
Definition at line 1718 of file SDL_gpu.h.
◆ pass_op
The action performed on samples that pass the depth and stencil tests.
Definition at line 1719 of file SDL_gpu.h.
The documentation for this struct was generated from the following file: