![]() |
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 () | |
Public Member Functions inherited from xiiHashableStruct< xiiGALRenderTargetBlendDescription > | |
| constexpr | xiiHashableStruct () noexcept |
| Default constructor. Initializes all bytes to zero. | |
| xiiHashableStruct (const xiiHashableStruct &other) noexcept | |
| Bitwise copy constructor. | |
| xiiHashableStruct & | operator= (const xiiHashableStruct &other) noexcept |
| Bitwise assignment operator. | |
| bool | operator== (const xiiHashableStruct &other) const noexcept |
| Compares equality via raw byte comparison. | |
| std::strong_ordering | operator<=> (const xiiHashableStruct &other) const noexcept |
| Compares ordering via raw byte comparison. | |
| xiiUInt32 | CalculateHash () const noexcept |
| Calculates a 32-bit hash from raw bytes of the struct. | |
| void | Clear () noexcept |
| Fills all bytes with zero. | |
| bool | IsZero () const noexcept |
| Returns true if all bytes are zero. | |
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.