ezEngine  Milestone 7
ezShaderMaterialParamCB::MaterialParameter Struct Reference

Public Types

enum  Type : ezUInt8 {
  Unknown, Float1, Float2, Float3,
  Float4, Int1, Int2, Int3,
  Int4, Mat3x3, Mat4x4, Mat3x4,
  ENUM_COUNT
}
 

Public Member Functions

 EZ_DECLARE_POD_TYPE ()
 

Public Attributes

Type m_Type
 
ezUInt8 m_uiArrayElements
 
ezUInt16 m_uiOffset
 
ezUInt32 m_uiNameHash
 
void * m_pCachedValues
 

Static Public Attributes

static ezUInt32 s_TypeSize [(ezUInt32) Type::ENUM_COUNT]
 

Member Data Documentation

ezUInt32 ezShaderMaterialParamCB::MaterialParameter::s_TypeSize
static
Initial value:
=
{
0,
sizeof(float) * 1,
sizeof(float) * 2,
sizeof(float) * 3,
sizeof(float) * 4,
sizeof(int) * 1,
sizeof(int) * 2,
sizeof(int) * 3,
sizeof(int) * 4,
sizeof(float) * 9,
sizeof(float) * 16,
sizeof(float) * 12,
}

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