DepthDesc

Structure representing the depth description needed for a pipeline object.

File location: framework/cauldron/framework/inc/render/pipelinedesc.h

Detailed description

Structure representing the depth description needed for a pipeline object.

Data fields

Type

Description

bool

DepthEnable
True to enable depth testing (defaults to false).

bool

DepthWriteEnable
True to enable depth writes (defaults to false).

ComparisonFunc

DepthFunc
Depth test comparison function (defaults to ComparisonFunc::Always).

bool

StencilEnable
True to enable stencil testing (defaults to false).

uint8_t

StencilReadMask
The stencil read mask (defaults to 0xff).

uint8_t

StencilWriteMask
The stencil write mask (defaults to 0x00).

StencilDesc

FrontFace
The “StencilDesc“ description to use for the front face stencil test.

StencilDesc

BackFace
The “StencilDesc“ description to use for the front face stencil test.