Blend state description. More...
#include <BlendState.h>
Public Member Functions | |
| constexpr bool | operator== (const BlendStateDesc &RHS) const |
| Comparison operator tests if two structures are equivalent. | |
Public Attributes | |
| Bool | AlphaToCoverageEnable = False |
| Bool | IndependentBlendEnable = False |
| RenderTargetBlendDesc | RenderTargets [DILIGENT_MAX_RENDER_TARGETS] |
Blend state description.
This structure describes the blend state and is part of the GraphicsPipelineDesc.
|
inlineconstexpr |
Comparison operator tests if two structures are equivalent.
| [in] | RHS | - reference to the structure to perform comparison with |
True if all members are of the two structures equal.False otherwise.| Bool Diligent::BlendStateDesc::AlphaToCoverageEnable = False |
Specifies whether to use alpha-to-coverage as a multisampling technique when setting a pixel to a render target. Default value: False.
| Bool Diligent::BlendStateDesc::IndependentBlendEnable = False |
Specifies whether to enable independent blending in simultaneous render targets. If set to False, only RenderTargets[0] is used. Default value: False.
| RenderTargetBlendDesc Diligent::BlendStateDesc::RenderTargets[DILIGENT_MAX_RENDER_TARGETS] |
An array of RenderTargetBlendDesc structures that describe the blend states for render targets