renderer
Struct PSModel
in TransparencyRenderer.cpp
- struct PSModel
Struct PSModel: Per-CModel data for the polygon sorting renderer
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;
PSModel
public PSModel( CModel* model );
~PSModel
public ~PSModel();
BackToFrontIndexSort
public float BackToFrontIndexSort( const CMatrix3D& worldToCam );
- Back-link to the model