#include <llspatialpartition.h>
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 479 of file llspatialpartition.h.
LLParticlePartition::LLParticlePartition | ( | ) |
Definition at line 348 of file llvopartgroup.cpp.
References LLSpatialPartition::mBufferUsage, LLSpatialPartition::mDrawableType, LLSpatialPartition::mLODPeriod, LLSpatialPartition::mPartitionType, mRenderPass, LLSpatialPartition::mSlopRatio, LLViewerRegion::PARTITION_PARTICLE, LLRenderPass::PASS_ALPHA, and LLPipeline::RENDER_TYPE_PARTICLES.
void LLParticlePartition::getGeometry | ( | LLSpatialGroup * | group | ) | [virtual] |
Implements LLGeometryManager.
Definition at line 406 of file llvopartgroup.cpp.
References LLSpatialGroup::clearDrawMap(), LLFastTimer::FTM_REBUILD_PARTICLE_VB, LLFace::FULLBRIGHT, LLVertexBuffer::getColorStrider(), LLFace::getGeomCount(), LLFace::getGeomIndex(), LLVertexBuffer::getIndexStrider(), LLFace::getIndicesCount(), LLFace::getIndicesStart(), LLVertexBuffer::getNormalStrider(), LLFace::getTEOffset(), LLVertexBuffer::getTexCoordStrider(), LLFace::getTexture(), LLVertexBuffer::getVertexStrider(), LLFace::getViewerObject(), LLFace::getVirtualSize(), gGLManager, i, LLFace::isState(), llmax(), LLSpatialGroup::mDrawMap, LLGeometryManager::mFaceList, LLGLManager::mGLMaxVertexRange, mRenderPass, LLMemType::MTYPE_SPACE_PARTITION, LLFace::mVertexBuffer, LLSpatialGroup::mVertexBuffer, LLDrawInfo::mVSize, LLDrawPool::POOL_ALPHA, S32, LLVertexBuffer::setBuffer(), LLFace::setGeomIndex(), LLFace::setIndicesIndex(), and LLFace::setPoolType().
void LLParticlePartition::addGeometryCount | ( | LLSpatialGroup * | group, | |
U32 & | vertex_count, | |||
U32 & | index_count | |||
) | [virtual] |
Reimplemented from LLGeometryManager.
Definition at line 359 of file llvopartgroup.cpp.
References LLPointer< Type >::get(), LLCoordFrame::getAtAxis(), LLSpatialGroup::getData(), LLDrawable::getFace(), LLFace::getGeomCount(), LLFace::getIndicesCount(), LLSingleton< LLViewerCamera >::getInstance(), LLDrawable::getNumFaces(), LLCoordFrame::getOrigin(), LLDrawable::getVObj(), LLFace::hasGeometry(), i, LLDrawable::isAnimating(), LLDrawable::isDead(), j, LLSpatialPartition::mBufferUsage, LLSpatialGroup::mBufferUsage, LLFace::mCenterLocal, LLAlphaObject::mDepth, LLFace::mDistance, LLGeometryManager::mFaceList, S32, and LLDrawable::updateFaceSize().
F32 LLParticlePartition::calcPixelArea | ( | LLSpatialGroup * | group, | |
LLCamera & | camera | |||
) | [virtual] |
U32 LLParticlePartition::mRenderPass [protected] |
Definition at line 487 of file llspatialpartition.h.
Referenced by getGeometry(), LLGrassPartition::LLGrassPartition(), and LLParticlePartition().