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

renderer
Struct PSModel

   in TransparencyRenderer.cpp

struct PSModel

Struct PSModel: Per-CModel data for the polygon sorting renderer


Field Summary
 VertexArray m_Array
          Position and lighting are recalculated on CPU every frame
 VertexArray::Attribute m_Color
          Indices array (sorted on CPU based on distance to camera)
 u16* m_Indices
          
 CModel* m_Model
          Dynamic per-CModel vertex array
 VertexArray::Attribute m_Position
          
 
Constructor Summary
PSModel( CModel* model )
          
~PSModel()
          
 
Method Summary
 float BackToFrontIndexSort( const CMatrix3D& worldToCam )
          Back-link to the model
 

Field Detail

m_Array

public VertexArray m_Array;
Position and lighting are recalculated on CPU every frame

m_Color

public VertexArray::Attribute m_Color;
Indices array (sorted on CPU based on distance to camera)

m_Indices

public u16* m_Indices;

m_Model

public CModel* m_Model;
Dynamic per-CModel vertex array

m_Position

public VertexArray::Attribute m_Position;


Constructor Detail

PSModel

public PSModel( CModel* model );

~PSModel

public ~PSModel();


Method Detail

BackToFrontIndexSort

public float BackToFrontIndexSort( const CMatrix3D& worldToCam );
Back-link to the model

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