#include <lldrawpool.h>
Inheritance diagram for LLDrawPool:
Definition at line 48 of file lldrawpool.h.
anonymous enum |
POOL_SKY | |
POOL_STARS | |
POOL_GROUND | |
POOL_TERRAIN | |
POOL_SIMPLE | |
POOL_BUMP | |
POOL_AVATAR | |
POOL_TREE | |
POOL_GLOW | |
POOL_ALPHA | |
POOL_WATER | |
POOL_ALPHA_POST_WATER | |
NUM_POOL_TYPES |
Definition at line 53 of file lldrawpool.h.
LLDrawPool::LLDrawPool | ( | const U32 | type | ) |
Definition at line 111 of file lldrawpool.cpp.
References mId, mIndicesDrawn, mType, mVertexShaderLevel, and sNumDrawPools.
LLDrawPool::~LLDrawPool | ( | ) | [virtual] |
Definition at line 120 of file lldrawpool.cpp.
Definition at line 153 of file lldrawpool.cpp.
References mIndicesDrawn.
Referenced by LLDrawPoolAlpha::renderAlphaHighlight(), LLDrawPoolAlpha::renderGroupAlpha(), and LLDrawPoolTree::renderTree().
Reimplemented in LLDrawPoolAlpha, LLDrawPoolAvatar, LLDrawPoolBump, LLDrawPoolClouds, LLDrawPoolSimple, and LLDrawPoolTree.
Definition at line 131 of file lldrawpool.cpp.
LLDrawPool * LLDrawPool::createPool | ( | const U32 | type, | |
LLViewerImage * | tex0 = NULL | |||
) | [static] |
Definition at line 61 of file lldrawpool.cpp.
References llassert, llendl, llerrs, mType, NULL, POOL_ALPHA, POOL_ALPHA_POST_WATER, POOL_AVATAR, POOL_BUMP, POOL_GLOW, POOL_GROUND, POOL_SIMPLE, POOL_SKY, POOL_STARS, POOL_TERRAIN, POOL_TREE, and POOL_WATER.
Referenced by LLPipeline::getPool().
Reimplemented in LLDrawPoolAvatar, LLDrawPoolBump, and LLDrawPoolTree.
Definition at line 136 of file lldrawpool.cpp.
LLViewerImage * LLDrawPool::getDebugTexture | ( | ) | [virtual] |
Reimplemented in LLRenderPass, LLDrawPoolAvatar, LLDrawPoolTerrain, LLDrawPoolTree, and LLDrawPoolWater.
Definition at line 125 of file lldrawpool.cpp.
References NULL.
S32 LLDrawPool::getId | ( | ) | const [inline] |
virtual S32 LLDrawPool::getMaterialAttribIndex | ( | ) | [pure virtual] |
Implemented in LLRenderPass, LLDrawPoolAvatar, LLDrawPoolClouds, LLDrawPoolGround, LLDrawPoolSky, LLDrawPoolStars, LLDrawPoolTerrain, LLDrawPoolTree, and LLDrawPoolWater.
Referenced by LLFace::renderSetColor(), and LLFacePool::LLOverrideFaceColor::setColor().
virtual S32 LLDrawPool::getNumPasses | ( | ) | [inline, virtual] |
virtual LLViewerImage* LLDrawPool::getTexture | ( | ) | [pure virtual] |
Implemented in LLRenderPass, LLFacePool, LLDrawPoolTerrain, and LLDrawPoolTree.
Referenced by LLPipeline::addToQuickLookup(), and LLPipeline::removeFromQuickLookup().
U32 LLDrawPool::getTrianglesDrawn | ( | ) | const |
U32 LLDrawPool::getType | ( | ) | const [inline] |
Definition at line 77 of file lldrawpool.h.
References mType.
Referenced by LLPipeline::addToQuickLookup(), LLFacePool::printDebugInfo(), LLPipeline::removeFromQuickLookup(), and LLDrawPoolTerrain::~LLDrawPoolTerrain().
virtual U32 LLDrawPool::getVertexDataMask | ( | ) | [pure virtual] |
Implemented in LLDrawPoolAlpha, LLDrawPoolAvatar, LLDrawPoolBump, LLDrawPoolClouds, LLDrawPoolGround, LLDrawPoolSimple, LLDrawPoolGlow, LLDrawPoolSky, LLDrawPoolStars, LLDrawPoolTerrain, LLDrawPoolTree, and LLDrawPoolWater.
Referenced by LLFace::renderIndexed().
virtual S32 LLDrawPool::getVertexShaderLevel | ( | ) | const [inline, virtual] |
Reimplemented in LLDrawPoolAvatar.
Definition at line 88 of file lldrawpool.h.
References mVertexShaderLevel.
Referenced by LLViewerJointMesh::drawShape(), LLFacePool::LLOverrideFaceColor::setColor(), LLPipeline::setupHWLights(), LLVOSky::updateGeometry(), LLVOAvatar::updateLOD(), and LLViewerJointMesh::uploadJointMatrices().
virtual LLDrawPool* LLDrawPool::instancePool | ( | ) | [pure virtual] |
Implemented in LLRenderPass, LLDrawPoolAvatar, LLDrawPoolClouds, LLDrawPoolGround, LLDrawPoolSky, LLDrawPoolStars, LLDrawPoolTerrain, LLDrawPoolTree, and LLDrawPoolWater.
virtual BOOL LLDrawPool::isDead | ( | ) | [pure virtual] |
virtual BOOL LLDrawPool::isFacePool | ( | ) | [inline, virtual] |
Reimplemented in LLFacePool.
Definition at line 93 of file lldrawpool.h.
References FALSE.
Referenced by LLPipeline::cleanup().
virtual void LLDrawPool::prerender | ( | ) | [pure virtual] |
virtual void LLDrawPool::resetDrawOrders | ( | ) | [pure virtual] |
Implemented in LLRenderPass, and LLFacePool.
void LLDrawPool::resetTrianglesDrawn | ( | ) |
virtual BOOL LLDrawPool::verify | ( | ) | const [inline, virtual] |
Reimplemented in LLFacePool, and LLDrawPoolTree.
Definition at line 87 of file lldrawpool.h.
References TRUE.
S32 LLDrawPool::mId [protected] |
S32 LLDrawPool::mIndicesDrawn [protected] |
Definition at line 104 of file lldrawpool.h.
Referenced by addIndicesDrawn(), LLFacePool::drawLoop(), getTrianglesDrawn(), LLDrawPool(), LLDrawPoolWater::render(), LLDrawPoolStars::render(), LLDrawPoolAvatar::renderAvatars(), LLDrawPoolAvatar::renderForSelect(), LLDrawPoolSky::renderHeavenlyBody(), LLDrawPoolWater::renderReflection(), LLDrawPoolWater::renderShaderSimple(), LLDrawPoolSky::renderSkyCubeFace(), LLDrawPoolSky::renderSunHalo(), resetTrianglesDrawn(), and LLDrawPoolWater::shade().
U32 LLDrawPool::mType [protected] |
Definition at line 103 of file lldrawpool.h.
Referenced by createPool(), getType(), and LLDrawPool().
S32 LLDrawPool::mVertexShaderLevel [protected] |
Definition at line 101 of file lldrawpool.h.
Referenced by LLDrawPoolAvatar::endRigid(), getVertexShaderLevel(), LLDrawPool(), LLDrawPoolWater::prerender(), LLDrawPoolTree::prerender(), LLDrawPoolTerrain::prerender(), LLDrawPoolStars::prerender(), LLDrawPoolSky::prerender(), LLDrawPoolSimple::prerender(), LLDrawPoolGround::prerender(), LLDrawPoolClouds::prerender(), LLDrawPoolBump::prerender(), LLDrawPoolAvatar::prerender(), LLDrawPoolAlpha::prerender(), LLDrawPoolWater::render(), LLDrawPoolTerrain::render(), and LLFace::renderSetColor().
S32 LLDrawPool::sNumDrawPools = 0 [static] |