Diligent::BlendStateDesc struct

Blend state description.

Contents

This structure describes the blend state and is part of the GraphicsPipelineDesc.

Public functions

auto operator==(const BlendStateDesc& RHS) const -> bool
Comparison operator tests if two structures are equivalent.

Public variables

Bool AlphaToCoverageEnable
Specifies whether to use alpha-to-coverage as a multisampling technique when setting a pixel to a render target. Default value: False.
Bool IndependentBlendEnable
Specifies whether to enable independent blending in simultaneous render targets. If set to False, only RenderTargets[0] is used. Default value: False.
RenderTargetBlendDesc RenderTargets
An array of RenderTargetBlendDesc structures that describe the blend states for render targets.

Function documentation

bool Diligent::BlendStateDesc::operator==(const BlendStateDesc& RHS) const

Comparison operator tests if two structures are equivalent.

Parameters
RHS in - reference to the structure to perform comparison with
Returns
  • True if all members are of the two structures equal.