LiteFX::Rendering::DepthStencilState::StencilState¶
Describes the rasterizer stencil state.
Synopsis¶
Declared in <litefx/rendering_api.hpp>
struct StencilState;
Data Members¶
| Name | Description |
|---|---|
BackFace | Describes the stencil test for faces that point away from the camera. |
Enable | Specifies, if stencil state should be used (default: false). |
FrontFace | Describes the stencil test for faces that point towards the camera. |
ReadMask | Specifies the bits to read from the stencil state (default: 0xFF). |
WriteMask | Specifies the bits to write to the stencil state (default: 0xFF). |