renderer
Struct IModelDef
CModelDefRPrivate
|
+--IModelDef
in InstancingModelRenderer.cpp
- struct IModelDef
- extends CModelDefRPrivate
Static per-CModel vertex array
m_Array
public VertexArray m_Array;
- Position, normals and UV are all static
m_Indices
public u16* m_Indices;
m_Normal
public VertexArray::Attribute m_Normal;
m_Position
public VertexArray::Attribute m_Position;
m_UV
public VertexArray::Attribute m_UV;
- Indices are the same for all models, so share them
IModelDef
public IModelDef( CModelDefPtr mdef );
~IModelDef
public ~IModelDef();