Class BlendStateInfo

Inheritance Relationships

Base Type

Class Documentation

class BlendStateInfo : public gpa::playback::ResourceInfo

Graphics API agnostic information for blend state.

Public Functions

virtual TypeId GetTypeId() const final override

Gets this BlendStateInfo object's TypeId.

Returns

This BlendStateInfo object's TypeId

Public Members

uint32_t sampleMask = {0}

32-bit sample coverage.

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

Blend factors, which modulate values for the pixel shader and render target.

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.

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.