Struct DepthStencilOp
Defined in File structures.h
Struct Documentation
-
struct DepthStencilOp
API agnostic struct to represent Stencil operations that can be performed based on the results of stencil test.
Public Members
-
StencilOp stencilFailOp = {api_types::GPA_STENCIL_OP_KEEP}
The stencil operation to use when the stencil test fails.
-
StencilOp stencilDepthFailOp = {api_types::GPA_STENCIL_OP_KEEP}
The stencil operation to use when the stencil test passes but the depth test fails.
-
StencilOp stencilPassOp = {api_types::GPA_STENCIL_OP_KEEP}
The stencil operation to use when the stencil test passes.
-
ComparisonFunc stencilFunc = {api_types::GPA_COMPARISON_NEVER}
the comparison function to use when performing the stencil test
-
StencilOp stencilFailOp = {api_types::GPA_STENCIL_OP_KEEP}