#include <llspatialpartition.h>
Inheritance diagram for LLGeometryManager:
Public Member Functions | |
virtual | ~LLGeometryManager () |
virtual void | rebuildGeom (LLSpatialGroup *group)=0 |
virtual void | getGeometry (LLSpatialGroup *group)=0 |
virtual void | addGeometryCount (LLSpatialGroup *group, U32 &vertex_count, U32 &index_count) |
virtual LLVertexBuffer * | createVertexBuffer (U32 type_mask, U32 usage) |
Public Attributes | |
std::vector< LLFace * > | mFaceList |
Definition at line 264 of file llspatialpartition.h.
virtual LLGeometryManager::~LLGeometryManager | ( | ) | [inline, virtual] |
Definition at line 268 of file llspatialpartition.h.
void LLGeometryManager::addGeometryCount | ( | LLSpatialGroup * | group, | |
U32 & | vertex_count, | |||
U32 & | index_count | |||
) | [virtual] |
Reimplemented in LLWaterPartition, LLTreePartition, LLParticlePartition, LLVolumePartition, LLVolumeBridge, and LLBridgePartition.
Definition at line 2541 of file llvovolume.cpp.
References FORCE_CULL_AREA, LLSpatialGroup::getData(), LLFace::getGeomCount(), LLFace::getIndicesCount(), LLFace::hasGeometry(), i, LLSpatialGroup::mBufferUsage, LLSpatialPartition::mBufferUsage, mFaceList, LLFace::mLastVertexBuffer, LLFace::mPixelArea, LLSpatialGroup::mSpatialPartition, LLFace::mVertexBuffer, NULL, and S32.
Referenced by LLVolumeBridge::addGeometryCount(), LLVolumePartition::addGeometryCount(), and LLSpatialPartition::rebuildGeom().
LLVertexBuffer * LLGeometryManager::createVertexBuffer | ( | U32 | type_mask, | |
U32 | usage | |||
) | [virtual] |
Reimplemented in LLTerrainPartition.
Definition at line 2905 of file llspatialpartition.cpp.
Referenced by LLVolumeGeometryManager::rebuildGeom(), and LLSpatialPartition::rebuildGeom().
virtual void LLGeometryManager::getGeometry | ( | LLSpatialGroup * | group | ) | [pure virtual] |
Implemented in LLWaterPartition, LLTerrainPartition, LLTreePartition, LLParticlePartition, LLVolumeGeometryManager, LLVolumePartition, LLVolumeBridge, and LLBridgePartition.
Referenced by LLSpatialPartition::rebuildGeom().
virtual void LLGeometryManager::rebuildGeom | ( | LLSpatialGroup * | group | ) | [pure virtual] |
Implemented in LLSpatialPartition, LLVolumeGeometryManager, LLVolumePartition, and LLVolumeBridge.
std::vector<LLFace*> LLGeometryManager::mFaceList |
Definition at line 267 of file llspatialpartition.h.
Referenced by addGeometryCount(), LLParticlePartition::addGeometryCount(), LLTerrainPartition::getGeometry(), LLParticlePartition::getGeometry(), and LLVolumeGeometryManager::rebuildGeom().