Vireo  0.0
Vireo 3D Rendering Hardware Interface
StencilOpState Struct Reference

Detailed Description

Structure specifying stencil operation state

Manual page : Graphics Pipelines

Public Attributes

StencilOp failOp {StencilOp::KEEP}
 Value specifying the action performed on samples that fail the stencil test. More...
 
StencilOp passOp {StencilOp::KEEP}
 Value specifying the action performed on samples that pass both the depth and stencil tests. More...
 
StencilOp depthFailOp {StencilOp::KEEP}
 Value specifying the action performed on samples that pass the stencil test and fail the depth test. More...
 
CompareOp compareOp {CompareOp::ALWAYS}
 Value specifying the comparison operator used in the stencil test. More...
 
uint32_t compareMask {0xFFFFFFFF}
 Selects the bits of the unsigned integer stencil values participating in the stencil test. More...
 
uint32_t writeMask {0xFFFFFFFF}
 Selects the bits of the unsigned integer stencil values updated by the stencil test in the stencil attachment. More...
 

Member Data Documentation

uint32_t compareMask {0xFFFFFFFF}

Selects the bits of the unsigned integer stencil values participating in the stencil test.

CompareOp compareOp {CompareOp::ALWAYS}

Value specifying the comparison operator used in the stencil test.

StencilOp depthFailOp {StencilOp::KEEP}

Value specifying the action performed on samples that pass the stencil test and fail the depth test.

StencilOp failOp {StencilOp::KEEP}

Value specifying the action performed on samples that fail the stencil test.

StencilOp passOp {StencilOp::KEEP}

Value specifying the action performed on samples that pass both the depth and stencil tests.

uint32_t writeMask {0xFFFFFFFF}

Selects the bits of the unsigned integer stencil values updated by the stencil test in the stencil attachment.