Plasma Engine  2.0
Loading...
Searching...
No Matches
plGALRenderTargetBlendDescription Struct Reference
Inheritance diagram for plGALRenderTargetBlendDescription:

Public Attributes

plEnum< plGALBlendm_SourceBlend = plGALBlend::One
 
plEnum< plGALBlendm_DestBlend = plGALBlend::One
 
plEnum< plGALBlendOpm_BlendOp = plGALBlendOp::Add
 
plEnum< plGALBlendm_SourceBlendAlpha = plGALBlend::One
 
plEnum< plGALBlendm_DestBlendAlpha = plGALBlend::One
 
plEnum< plGALBlendOpm_BlendOpAlpha = plGALBlendOp::Add
 
plUInt8 m_uiWriteMask = 0xFF
 
bool m_bBlendingEnabled = false
 

Additional Inherited Members

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

Member Data Documentation

◆ m_bBlendingEnabled

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

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