BlendDesc

Structure representing the blend description needed for a pipeline object.

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

Detailed description

Structure representing the blend description needed for a pipeline object.

Data fields

Type

Description

bool

BlendEnabled
True if blending enabled.

Blend

SourceBlendColor
Source blend operator (defaults to Blend::One).

Blend

DestBlendColor
Destination blend operator (defaults to Blend::Zero).

BlendOp

ColorOp
Color blend operation (defaults to BlendOp::Add).

Blend

SourceBlendAlpha
Source alpha blend operator (defaults to Blend::One).

Blend

DestBlendAlpha
Destination alpha blend operator (defaults to Blend::Zero).

BlendOp

AlphaOp
Alpha blend operation (defaults to BlendOp::Add).

uint32_t

RenderTargetWriteMask
Controls what channels are written to (defaults to ColorWriteMask::All).