Luna::RHI::DepthStencilOpDesc
Describes the depth stencil operation.
struct Luna::RHI::DepthStencilOpDesc
Member objects
-
The operation to perform when stencil comparison failed.
-
StencilOp stencil_depth_fail_op
The operation to perform when stencil comparison passed, but depth test failed.
-
The operation to perform when both stencil comparison and depth test passed.
-
The compare function used for stencil comparison. The comparison is performed between the stencil reference value set by ICommandBuffer::set_stencil_ref and the stencil value in the stencil attachment.