LiteFX::Rendering::DepthStencilState::StencilTest¶
Describes a stencil test for either front or back faces.
Synopsis¶
Declared in <litefx/rendering_api.hpp>
struct StencilTest;
Data Members¶
| Name | Description |
|---|---|
DepthFailOp | The operation to apply to the stencil buffer, if the depth test fails (default: StencilOperation::Keep). |
Operation | The operation use for stencil testing (default: CompareOperation::Never). |
StencilFailOp | The operation to apply to the stencil buffer, if the stencil test fails (default: StencilOperation::Keep). |
StencilPassOp | The operation to apply to the stencil buffer, if the stencil test passes (default: StencilOperation::Keep). |