#include <llspatialpartition.h>
Inheritance diagram for LLParticlePartition:
Public Member Functions | |
LLParticlePartition () | |
virtual void | getGeometry (LLSpatialGroup *group) |
virtual void | addGeometryCount (LLSpatialGroup *group, U32 &vertex_count, U32 &index_count) |
virtual F32 | calcPixelArea (LLSpatialGroup *group, LLCamera &camera) |
Protected Attributes | |
U32 | mRenderPass |
Definition at line 415 of file llspatialpartition.h.
LLParticlePartition::LLParticlePartition | ( | ) |
Definition at line 401 of file llvopartgroup.cpp.
References LLSpatialPartition::mBufferUsage, LLSpatialPartition::mDrawableType, LLSpatialPartition::mLODPeriod, LLSpatialPartition::mPartitionType, mRenderPass, LLSpatialPartition::mSlopRatio, LLPipeline::PARTITION_PARTICLE, LLRenderPass::PASS_ALPHA, and LLPipeline::RENDER_TYPE_PARTICLES.
void LLParticlePartition::addGeometryCount | ( | LLSpatialGroup * | group, | |
U32 & | vertex_count, | |||
U32 & | index_count | |||
) | [virtual] |
Reimplemented from LLGeometryManager.
Definition at line 412 of file llvopartgroup.cpp.
References count, gCamera, LLCoordFrame::getAtAxis(), LLSpatialGroup::getData(), LLFace::getGeomCount(), LLFace::getIndicesCount(), LLCoordFrame::getOrigin(), LLFace::hasGeometry(), i, j, LLSpatialPartition::mBufferUsage, LLSpatialGroup::mBufferUsage, LLFace::mCenterLocal, LLAlphaObject::mDepth, LLFace::mDistance, LLGeometryManager::mFaceList, and S32.
F32 LLParticlePartition::calcPixelArea | ( | LLSpatialGroup * | group, | |
LLCamera & | camera | |||
) | [virtual] |
void LLParticlePartition::getGeometry | ( | LLSpatialGroup * | group | ) | [virtual] |
Implements LLGeometryManager.
Definition at line 459 of file llvopartgroup.cpp.
References LLSpatialGroup::clearDrawMap(), count, end, LLFace::FULLBRIGHT, LLVertexBuffer::getColorStrider(), LLAlphaObject::getGeometry(), LLVertexBuffer::getIndexStrider(), LLVertexBuffer::getNormalStrider(), LLVertexBuffer::getTexCoordStrider(), LLVertexBuffer::getVertexStrider(), gGLManager, i, llmax(), mCount, LLSpatialGroup::mDrawMap, LLGeometryManager::mFaceList, LLGLManager::mGLMaxIndexRange, LLGLManager::mGLMaxVertexRange, mRenderPass, LLMemType::MTYPE_SPACE_PARTITION, LLSpatialGroup::mVertexBuffer, LLDrawInfo::mVSize, LLDrawPool::POOL_ALPHA, S32, and start.
U32 LLParticlePartition::mRenderPass [protected] |
Definition at line 423 of file llspatialpartition.h.
Referenced by getGeometry(), LLGrassPartition::LLGrassPartition(), and LLParticlePartition().