XII Release 0.1.0
Loading...
Searching...
No Matches
xiiGALRenderTargetBlendDescription Struct Reference

This describes the blend state for a single render target. More...

#include <BlendState.h>

Inheritance diagram for xiiGALRenderTargetBlendDescription:
[legend]

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.
 
xiiHashableStructoperator= (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< xiiGALBlendFactorm_SourceBlend = xiiGALBlendFactor::One
 Specifies the blend factor to apply to the RGB value output from the pixel shader. The default is One.
 
xiiEnum< xiiGALBlendFactorm_DestinationBlend = xiiGALBlendFactor::One
 Specifies the blend factor to apply to the RGB value in the render target. The default is One.
 
xiiEnum< xiiGALBlendOperationm_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< xiiGALBlendFactorm_SourceBlendAlpha = xiiGALBlendFactor::One
 Specifies the blend factor to apply to the alpha value output from the pixel shader. The default is One.
 
xiiEnum< xiiGALBlendFactorm_DestinationBlendAlpha = xiiGALBlendFactor::One
 Specifies the blend factor to apply to the alpha value in the render target. The default is One.
 
xiiEnum< xiiGALBlendOperationm_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< xiiGALColorMaskm_ColorMask = xiiGALColorMask::RGBA
 Render target color write mask. The default is default is RGBA.
 

Detailed Description

This describes the blend state for a single render target.


The documentation for this struct was generated from the following file: