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

Features which alter shader specialization or render scheduling. More...

#include <MaterialTypes.h>

Classes

struct  Bits

Public Types

enum  Enum : StorageType {
  None = 0U , NormalTexture = XII_BIT(0) , MetallicRoughnessTexture = XII_BIT(1) , OcclusionTexture = XII_BIT(2) ,
  EmissiveTexture = XII_BIT(3) , HeightTexture = XII_BIT(4) , ClearCoat = XII_BIT(5) , Transmission = XII_BIT(6) ,
  Sheen = XII_BIT(7) , Anisotropy = XII_BIT(8) , VertexColor = XII_BIT(9) , TwoSided = XII_BIT(10) ,
  RuntimeGenerated = XII_BIT(11) , ReceivesLighting = XII_BIT(12) , CastsShadows = XII_BIT(13) , WritesVelocity = XII_BIT(14) ,
  UsesBindlessResources = XII_BIT(15) , Default = ReceivesLighting | CastsShadows | WritesVelocity | UsesBindlessResources
}
using StorageType = xiiUInt32

Detailed Description

Features which alter shader specialization or render scheduling.

Member Enumeration Documentation

◆ Enum

enum xiiMaterialFeatureFlags::Enum : StorageType
Enumerator
Default 

Physically lit surfaces participate in shadows, temporal reconstruction and bindless rendering unless an authored material explicitly opts out.


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