Struct BlendState

Struct Documentation

struct BlendState

API agnostic struct to represent Blend state.

Public Members

bool alphaToCoverageEnable = {false}

Specifies if alpha-to-coverage as a multisampling technique is enabled.

bool independentBlendEnable = {false}

Specifies if independent blending in simultaneous render targets is enabled.

float blendConstants[4] = {0, 0, 0, 0}

Array of blend factors, one for each RGBA component.

uint32_t attachmentCount = {0}

The number of BlendStateAttachment elements in the pAttachments array.

api_types::BlendStateAttachment const *pAttachments = {nullptr}

An array of BlendStateAttachment structures that describe the blend states for render targets.