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

This describes the blend state for all render targets in the graphics pipeline. More...

#include <BlendState.h>

Inheritance diagram for xiiGALBlendStateCreationDescription:
[legend]

Public Attributes

bool m_bAlphaToCoverage = false
 Specifies whether to use alpha-to-coverage as a multisampling technique when setting a pixel to a render target. The default is false.
 
bool m_bIndependentBlend = false
 Specifies whether to enable independent blending in simultaneous render targets. If set to false, only m_RenderTargets[0] is used. The default is false.
 
bool m_LogicOperationEnable = false
 Enable or disable a logical operation for this render target. The default is false.
 
xiiEnum< xiiGALLogicOperationm_LogicOperation = xiiGALLogicOperation::Clear
 Defines logical operation for the render target. The default is xiiGALLogicOperation::Clear.
 
xiiStaticArray< xiiGALRenderTargetBlendDescription, XII_GAL_MAX_RENDERTARGET_COUNT > m_RenderTargets
 An array of render target blend descriptions that describe the blend states for each render targets at an index.
 

Additional Inherited Members

- Public Member Functions inherited from xiiHashableStruct< xiiGALBlendStateCreationDescription >
 xiiHashableStruct (const xiiHashableStruct< xiiGALBlendStateCreationDescription > &other)
 
void operator= (const xiiHashableStruct< xiiGALBlendStateCreationDescription > &other)
 
XII_ALWAYS_INLINE constexpr bool operator== (const xiiHashableStruct< xiiGALBlendStateCreationDescription > &rhs) const=default
 
xiiUInt32 CalculateHash () const
 Calculates the 32 bit hash of the struct and returns it.
 

Detailed Description

This describes the blend state for all render targets in the graphics pipeline.


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