![]() |
XII Release 0.1.0
|
This describes the blend state for a single render target. More...
#include <BlendState.h>
Public Member Functions | |
XII_DECLARE_POD_TYPE () | |
![]() | |
xiiHashableStruct (const xiiHashableStruct< xiiGALRenderTargetBlendDescription > &other) | |
void | operator= (const xiiHashableStruct< xiiGALRenderTargetBlendDescription > &other) |
XII_ALWAYS_INLINE constexpr bool | operator== (const xiiHashableStruct< xiiGALRenderTargetBlendDescription > &rhs) const=default |
xiiUInt32 | CalculateHash () const |
Calculates the 32 bit hash of the struct and returns it. | |
Public Attributes | |
bool | m_bBlendEnable = false |
Enable or disable blending for this render target. The default is false. | |
xiiEnum< xiiGALBlendFactor > | m_SourceBlend = xiiGALBlendFactor::One |
Specifies the blend factor to apply to the RGB value output from the pixel shader. The default is One. | |
xiiEnum< xiiGALBlendFactor > | m_DestinationBlend = xiiGALBlendFactor::One |
Specifies the blend factor to apply to the RGB value in the render target. The default is One. | |
xiiEnum< xiiGALBlendOperation > | m_BlendOperation = xiiGALBlendOperation::Add |
Defines how to combine the source and destination RGB values after applying the source and destination blend factors. The default is Add. | |
xiiEnum< xiiGALBlendFactor > | m_SourceBlendAlpha = xiiGALBlendFactor::One |
Specifies the blend factor to apply to the alpha value output from the pixel shader. The default is One. | |
xiiEnum< xiiGALBlendFactor > | m_DestinationBlendAlpha = xiiGALBlendFactor::One |
Specifies the blend factor to apply to the alpha value in the render target. The default is One. | |
xiiEnum< xiiGALBlendOperation > | m_BlendOperationAlpha = xiiGALBlendOperation::Add |
Defines how to combine the source and destination alpha values after applying the source and destination blend alpha factors. The default is Add. | |
xiiBitflags< xiiGALColorMask > | m_ColorMask = xiiGALColorMask::RGBA |
Render target color write mask. The default is default is RGBA. | |
This describes the blend state for a single render target.