ezEngine  Milestone 7
ezShaderStageBinary Class Reference

Public Types

enum  Version {
  Version0, Version1, Version2, Version3,
  ENUM_COUNT, VersionCurrent = ENUM_COUNT - 1
}
 

Public Member Functions

ezResult Write (ezStreamWriterBase &Stream) const
 
ezResult Read (ezStreamReaderBase &Stream)
 
void CreateMaterialParamObject (const ezShaderMaterialParamCB &matparams)
 
ezResult WriteStageBinary () const
 

Static Public Member Functions

static void OnEngineShutdown ()
 
static ezShaderStageBinaryLoadStageBinary (ezGALShaderStage::Enum Stage, ezUInt32 uiHash)
 

Public Attributes

ezUInt32 m_uiSourceHash
 
ezGALShaderStage::Enum m_Stage
 
ezDynamicArray< ezUInt8 > m_ByteCode
 
ezScopedRefPointer
< ezGALShaderByteCode
m_pGALByteCode
 
ezHybridArray
< ezShaderStageResource, 8 > 
m_ShaderResourceBindings
 
ezShaderMaterialParamCBm_pMaterialParamCB
 

Static Public Attributes

static ezMap< ezUInt32,
ezShaderStageBinary
s_ShaderStageBinaries [ezGALShaderStage::ENUM_COUNT]
 
static ezMap< ezUInt32,
ezShaderMaterialParamCB
s_ShaderMaterialParamCBs
 

The documentation for this class was generated from the following files: