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

Immutable classification used by sorting, shader selection and render-graph routing. More...

#include <MaterialTypes.h>

Public Member Functions

XII_ALWAYS_INLINE bool IsMasked () const
XII_ALWAYS_INLINE bool IsTranslucent () const
XII_ALWAYS_INLINE bool IsTwoSided () const
XII_ALWAYS_INLINE bool UsesTexture (xiiMaterialTextureSlot::Enum slot) const

Public Attributes

xiiEnum< xiiMaterialDomain > m_Domain = xiiMaterialDomain::Surface
xiiEnum< xiiMaterialShadingModel > m_ShadingModel = xiiMaterialShadingModel::Lit
xiiEnum< xiiMaterialBlendMode > m_BlendMode = xiiMaterialBlendMode::Opaque
xiiEnum< xiiMaterialAlphaMode > m_AlphaMode = xiiMaterialAlphaMode::Opaque
xiiBitflags< xiiMaterialFeatureFlags > m_FeatureFlags = xiiMaterialFeatureFlags::Default
xiiUInt64 m_uiPipelineKey = 0U
xiiUInt64 m_uiLayoutHash = 0U
xiiUInt32 m_uiRuntimeHash = 0U
xiiUInt32 m_uiTextureMask = 0U
xiiUInt32 m_uiRevision = 0U
xiiInt16 m_iSortPriority = 0

Detailed Description

Immutable classification used by sorting, shader selection and render-graph routing.


The documentation for this struct was generated from the following file:
  • /home/runner/work/XII/XII/Source/Engine/GraphicsCore/Material/MaterialTypes.h