![]() |
XII Release 0.1.0
|
This describes the blend state for all render targets in the graphics pipeline. More...
#include <BlendState.h>
Public Attributes | |
bool | m_bAlphaToCoverage = false |
Specifies whether to use alpha-to-coverage as a multisampling technique when setting a pixel to a render target. The default is false. | |
bool | m_bIndependentBlend = false |
Specifies whether to enable independent blending in simultaneous render targets. If set to false, only m_RenderTargets[0] is used. The default is false. | |
bool | m_LogicOperationEnable = false |
Enable or disable a logical operation for this render target. The default is false. | |
xiiEnum< xiiGALLogicOperation > | m_LogicOperation = xiiGALLogicOperation::Clear |
Defines logical operation for the render target. The default is xiiGALLogicOperation::Clear. | |
xiiStaticArray< xiiGALRenderTargetBlendDescription, XII_GAL_MAX_RENDERTARGET_COUNT > | m_RenderTargets |
An array of render target blend descriptions that describe the blend states for each render targets at an index. | |
Additional Inherited Members | |
![]() | |
xiiHashableStruct (const xiiHashableStruct< xiiGALBlendStateCreationDescription > &other) | |
void | operator= (const xiiHashableStruct< xiiGALBlendStateCreationDescription > &other) |
XII_ALWAYS_INLINE constexpr bool | operator== (const xiiHashableStruct< xiiGALBlendStateCreationDescription > &rhs) const=default |
xiiUInt32 | CalculateHash () const |
Calculates the 32 bit hash of the struct and returns it. | |
This describes the blend state for all render targets in the graphics pipeline.