|
0 A.D. | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
CModelDefRPrivate | +--BMRModelDefTrackerin ModelRenderer.cpp
Class BMRModelDefTracker: Per-CModelDef data used by the BatchModelRenderer. Note that classes that derive from BatchModelRenderer should use their own per-CModelDef data if necessary.
Field Summary | |
boost::weak_ptr< CModelDef > |
m_ModelDef
Pointer to the next ModelDefTracker that has submitted models. |
std::vector< BMRModelData* > |
m_ModelSlots
|
BMRModelDefTracker* |
m_Next
Number of slots used in m_ModelSlots |
uint |
m_Slots
Each slot contains a linked list of model data objects, up to m_Slots-1 At the end of the frame, m_Slots is reset to 0, but m_ModelSlots stays the same size (we assume the same number of slots is going to be used next frame) |
Constructor Summary | |
BMRModelDefTracker( CModelDefPtr mdef )
Back-link to the CModelDef object |
Field Detail |
public boost::weak_ptr< CModelDef > m_ModelDef;
public std::vector< BMRModelData* > m_ModelSlots;
public BMRModelDefTracker* m_Next;
public uint m_Slots;
Constructor Detail |
public BMRModelDefTracker( CModelDefPtr mdef );
|
0 A.D.
Generated on September 04, 2007 at 18:13 CppDoc v2.4.0 |
|||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |