ezEngine  Release 25.03
ezGALRenderTargetBlendDescription Struct Reference
Inheritance diagram for ezGALRenderTargetBlendDescription:

Public Attributes

ezEnum< ezGALBlendm_SourceBlend = ezGALBlend::One
 
ezEnum< ezGALBlendm_DestBlend = ezGALBlend::One
 
ezEnum< ezGALBlendOpm_BlendOp = ezGALBlendOp::Add
 
ezEnum< ezGALBlendm_SourceBlendAlpha = ezGALBlend::One
 
ezEnum< ezGALBlendm_DestBlendAlpha = ezGALBlend::One
 
ezEnum< ezGALBlendOpm_BlendOpAlpha = ezGALBlendOp::Add
 
ezUInt8 m_uiWriteMask = 0xFF
 
bool m_bBlendingEnabled = false
 

Additional Inherited Members

- Public Member Functions inherited from ezHashableStruct< ezGALRenderTargetBlendDescription >
 ezHashableStruct (const ezHashableStruct< ezGALRenderTargetBlendDescription > &other)
 
void operator= (const ezHashableStruct< ezGALRenderTargetBlendDescription > &other)
 
ezUInt32 CalculateHash () const
 Calculates the 32 bit hash of the struct and returns it.
 

Member Data Documentation

◆ m_bBlendingEnabled

bool ezGALRenderTargetBlendDescription::m_bBlendingEnabled = false

If enabled, the color will be blended into the render target. Otherwise it will overwrite the render target. Set m_uiWriteMask to 0 to disable all writes to the render target.

◆ m_uiWriteMask

ezUInt8 ezGALRenderTargetBlendDescription::m_uiWriteMask = 0xFF

Enables writes to color channels. Bit1 = Red Channel, Bit2 = Green Channel, Bit3 = Blue Channel, Bit4 = Alpha Channel, Bit 5-8 are unused


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