#include <SDL_gpu.h>
A structure specifying the parameters of the graphics pipeline depth stencil state.
- Since
- This struct is available since SDL 3.2.0.
- See also
- SDL_GPUGraphicsPipelineCreateInfo
-
SDL_GPUStencilOpState
Definition at line 1878 of file SDL_gpu.h.
◆ back_stencil_state
The stencil op state for back-facing triangles.
Definition at line 1881 of file SDL_gpu.h.
◆ compare_mask
| Uint8 SDL_GPUDepthStencilState::compare_mask |
Selects the bits of the stencil values participating in the stencil test.
Definition at line 1883 of file SDL_gpu.h.
◆ compare_op
The comparison operator used for depth testing.
Definition at line 1880 of file SDL_gpu.h.
◆ enable_depth_test
| bool SDL_GPUDepthStencilState::enable_depth_test |
true enables the depth test.
Definition at line 1885 of file SDL_gpu.h.
◆ enable_depth_write
| bool SDL_GPUDepthStencilState::enable_depth_write |
true enables depth writes. Depth writes are always disabled when enable_depth_test is false.
Definition at line 1886 of file SDL_gpu.h.
◆ enable_stencil_test
| bool SDL_GPUDepthStencilState::enable_stencil_test |
true enables the stencil test.
Definition at line 1887 of file SDL_gpu.h.
◆ front_stencil_state
The stencil op state for front-facing triangles.
Definition at line 1882 of file SDL_gpu.h.
◆ padding1
| Uint8 SDL_GPUDepthStencilState::padding1 |
◆ padding2
| Uint8 SDL_GPUDepthStencilState::padding2 |
◆ padding3
| Uint8 SDL_GPUDepthStencilState::padding3 |
◆ write_mask
| Uint8 SDL_GPUDepthStencilState::write_mask |
Selects the bits of the stencil values updated by the stencil test.
Definition at line 1884 of file SDL_gpu.h.
The documentation for this struct was generated from the following file: