Overview   Project   Class   Tree   Deprecated   Index 
0 A.D.
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

renderer
Struct IModelDef

CModelDefRPrivate
   |
   +--IModelDef

   in InstancingModelRenderer.cpp

struct IModelDef
extends CModelDefRPrivate

Static per-CModel vertex array


Field Summary
 VertexArray m_Array
          Position, normals and UV are all static
 u16* m_Indices
          
 VertexArray::Attribute m_Normal
          
 VertexArray::Attribute m_Position
          
 VertexArray::Attribute m_UV
          Indices are the same for all models, so share them
 
Constructor Summary
IModelDef( CModelDefPtr mdef )
          
~IModelDef()
          
 

Field Detail

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


Constructor Detail

IModelDef

public IModelDef( CModelDefPtr mdef );

~IModelDef

public ~IModelDef();

 Overview   Project   Class   Tree   Deprecated   Index 
0 A.D.
Generated on September 04, 2007 at 18:13
CppDoc v2.4.0
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD