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 >
 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< 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: