Blend state description.
More...
|
static const int | MaxRenderTargets = 8 |
| Constant member defining the maximum number of render targets.
|
|
Blend state description.
This structure describes the blend state and is part of the GraphicsPipelineDesc.
Diligent::BlendStateDesc::BlendStateDesc |
( |
| ) |
|
|
inline |
Constructor initializes structure members with default values.
Member | Default value |
AlphaToCoverageEnable | False |
IndependentBlendEnable | False |
Members of RenderTargets[] are initialized with default values by RenderTargetBlendDesc::RenderTargetBlendDesc()
bool Diligent::BlendStateDesc::operator== |
( |
const BlendStateDesc & |
RHS | ) |
const |
|
inline |
Comparison operator tests if two structures are equivalent.
- Parameters
-
[in] | RHS | - reference to the structure to perform comparison with |
- Returns
- True if all members are of the two structures equal.
- Note
- The operator performs bitwise comparison of the two structures. That is if for instance both structures have IndependentBlendEnable set to False, but differ in render target other than 0, the operator will return False even though the two blend states created from these structures will be identical.