SDL_GPUDepthStencilState

A structure specifying the parameters of the graphics pipeline depth stencil state.

Members

Variables

back_stencil_state
SDL_GPUStencilOpState back_stencil_state;

The stencil op state for back-facing triangles.

compare_mask
Uint8 compare_mask;

Selects the bits of the stencil values participating in the stencil test.

compare_op
SDL_GPUCompareOp compare_op;

The comparison operator used for depth testing.

enable_depth_test
bool enable_depth_test;

true enables the depth test.

enable_depth_write
bool enable_depth_write;

true enables depth writes. Depth writes are always disabled when enable_depth_test is false.

enable_stencil_test
bool enable_stencil_test;

true enables the stencil test.

front_stencil_state
SDL_GPUStencilOpState front_stencil_state;

The stencil op state for front-facing triangles.

padding1
Uint8 padding1;
Undocumented in source.
padding2
Uint8 padding2;
Undocumented in source.
padding3
Uint8 padding3;
Undocumented in source.
write_mask
Uint8 write_mask;

Selects the bits of the stencil values updated by the stencil test.

See Also

Meta