![]() |
LLGL 0.05 Beta
|
Stencil face descriptor structure. More...
#include <PipelineStateFlags.h>
Public Attributes | |
| StencilOp | stencilFailOp = StencilOp::Keep |
| Specifies the operation to take when the stencil test fails. By default StencilOp::Keep. | |
| StencilOp | depthFailOp = StencilOp::Keep |
| Specifies the operation to take when the stencil test passes but the depth test fails. By default StencilOp::Keep. | |
| StencilOp | depthPassOp = StencilOp::Keep |
| Specifies the operation to take when both the stencil test and the depth test pass. By default StencilOp::Keep. | |
| CompareOp | compareOp = CompareOp::Less |
| Specifies the stencil compare operation. By default CompareOp::Less. | |
| std::uint32_t | readMask = ~0u |
Specifies the portion of the depth-stencil buffer for reading stencil data. By default 0xFFFFFFFF. | |
| std::uint32_t | writeMask = ~0u |
Specifies the portion of the depth-stencil buffer for writing stencil data. By default 0xFFFFFFFF. | |
| std::uint32_t | reference = 0u |
| Specifies the stencil reference value. By default 0. | |
Stencil face descriptor structure.
| CompareOp LLGL::StencilFaceDescriptor::compareOp = CompareOp::Less |
Specifies the stencil compare operation. By default CompareOp::Less.
| StencilOp LLGL::StencilFaceDescriptor::depthFailOp = StencilOp::Keep |
Specifies the operation to take when the stencil test passes but the depth test fails. By default StencilOp::Keep.
| StencilOp LLGL::StencilFaceDescriptor::depthPassOp = StencilOp::Keep |
Specifies the operation to take when both the stencil test and the depth test pass. By default StencilOp::Keep.
| std::uint32_t LLGL::StencilFaceDescriptor::readMask = ~0u |
Specifies the portion of the depth-stencil buffer for reading stencil data. By default 0xFFFFFFFF.
readMask & 0xFF) of the read mask value of the front face will be used. | std::uint32_t LLGL::StencilFaceDescriptor::reference = 0u |
Specifies the stencil reference value. By default 0.
referenceDynamic is set to true, this member is ignored. | StencilOp LLGL::StencilFaceDescriptor::stencilFailOp = StencilOp::Keep |
Specifies the operation to take when the stencil test fails. By default StencilOp::Keep.
| std::uint32_t LLGL::StencilFaceDescriptor::writeMask = ~0u |
Specifies the portion of the depth-stencil buffer for writing stencil data. By default 0xFFFFFFFF.
writeMask & 0xFF) of the write mask value of the front face will be used.