22 int maxTerrainDepth) :
23 m_pPayloadPool(pPayloadPool),
24 m_pQuadTreeNodePool(pQuadTreeNodePool),
25 m_pTerrainStream(pTerrainStream),
26 m_pStreamMap(pStreamMap),
27 m_terrainPayloadSlot(-1),
28 m_terrainMinDepth(minTerrainDepth),
29 m_terrainMaxDepth(maxTerrainDepth)
33 int terrainPayloadSlot()
const {
return m_terrainPayloadSlot; }
34 void InsertPlaceholders(std::vector<QuadTreeNode*>& nodeList,
int updateCount);
35 void OnStreamsChanged();
42 int m_terrainPayloadSlot;
43 const int m_terrainMinDepth;
44 const int m_terrainMaxDepth;
46 bool InsertAdditionalQuadTreeNodesBelow(
QuadTreeNode* node,
int updateCount);
48 void CreatePlaceholder(
QuadTreeNode* quadTreeNode,
bool dontLoadOnTopOf,
int updateCount);
50 bool HasNoTerrainChildrenInSceneGraph(
QuadTreeNode* quadTreeNode);