|
CeresEngine 0.2.0
A game development framework
|
Stencil face descriptor structure. More...
#include <CeresEngine/RenderAPI/GPUGraphicsPipeline.hpp>
Static Public Member Functions | |
| template<typename Processor > | |
| static constexpr void | reflect (Processor &&RTTI) |
| Executes the given processor for every field of the struct. | |
Public Attributes | |
| GPUStencilOp | stencilFailOp = GPUStencilOp::Keep |
| Specifies the operation to take when the stencil test fails. | |
| GPUStencilOp | depthFailOp = GPUStencilOp::Keep |
| Specifies the operation to take when the stencil test passes but the depth test fails. | |
| GPUStencilOp | depthPassOp = GPUStencilOp::Keep |
| Specifies the operation to take when both the stencil test and the depth test pass. | |
| GPUCompareOp | compareOp = GPUCompareOp::Less |
| Specifies the stencil compare operation. | |
| UInt32 | readMask = ~0u |
| Specifies the portion of the depth-stencil buffer for reading stencil data. | |
| UInt32 | writeMask = ~0u |
| Specifies the portion of the depth-stencil buffer for writing stencil data. | |
| UInt32 | reference = 0 |
| Specifies the stencil reference value. | |
Stencil face descriptor structure.
|
inlinestaticconstexpr |
Executes the given processor for every field of the struct.
| RTTI | The processor to be ran for every field. |
| GPUCompareOp CeresEngine::GPUStencilFaceDescriptor::compareOp = GPUCompareOp::Less |
Specifies the stencil compare operation.
| GPUStencilOp CeresEngine::GPUStencilFaceDescriptor::depthFailOp = GPUStencilOp::Keep |
Specifies the operation to take when the stencil test passes but the depth test fails.
| GPUStencilOp CeresEngine::GPUStencilFaceDescriptor::depthPassOp = GPUStencilOp::Keep |
Specifies the operation to take when both the stencil test and the depth test pass.
| UInt32 CeresEngine::GPUStencilFaceDescriptor::readMask = ~0u |
Specifies the portion of the depth-stencil buffer for reading stencil data.
By default 0xFFFFFFFF.
| UInt32 CeresEngine::GPUStencilFaceDescriptor::reference = 0 |
Specifies the stencil reference value.
StencilOp::Teplace. | GPUStencilOp CeresEngine::GPUStencilFaceDescriptor::stencilFailOp = GPUStencilOp::Keep |
Specifies the operation to take when the stencil test fails.
| UInt32 CeresEngine::GPUStencilFaceDescriptor::writeMask = ~0u |
Specifies the portion of the depth-stencil buffer for writing stencil data.
By default 0xFFFFFFFF.