#include <lldrawpooltree.h>
Inheritance diagram for LLDrawPoolTree:
Public Types | |
VERTEX_DATA_MASK | |
enum | { VERTEX_DATA_MASK } |
Public Member Functions | |
virtual U32 | getVertexDataMask () |
LLDrawPoolTree (LLViewerImage *texturep) | |
LLDrawPool * | instancePool () |
void | prerender () |
void | beginRenderPass (S32 pass) |
void | render (S32 pass=0) |
void | endRenderPass (S32 pass) |
void | renderForSelect () |
BOOL | verify () const |
LLViewerImage * | getTexture () |
LLViewerImage * | getDebugTexture () |
LLColor3 | getDebugColor () const |
virtual S32 | getMaterialAttribIndex () |
Static Public Attributes | |
static S32 | sDiffTex = 0 |
Private Member Functions | |
void | renderTree (BOOL selecting=FALSE) |
Private Attributes | |
LLPointer< LLViewerImage > | mTexturep |
Definition at line 37 of file lldrawpooltree.h.
anonymous enum |
LLDrawPoolTree::LLDrawPoolTree | ( | LLViewerImage * | texturep | ) |
Definition at line 47 of file lldrawpooltree.cpp.
References FALSE, and mTexturep.
Referenced by instancePool().
LLColor3 LLDrawPoolTree::getDebugColor | ( | ) | const |
LLViewerImage * LLDrawPoolTree::getDebugTexture | ( | ) | [virtual] |
Reimplemented from LLDrawPool.
Definition at line 281 of file lldrawpooltree.cpp.
References mTexturep.
S32 LLDrawPoolTree::getMaterialAttribIndex | ( | ) | [virtual] |
Implements LLDrawPool.
Definition at line 292 of file lldrawpooltree.cpp.
References gObjectSimpleProgram, LLShaderMgr::MATERIAL_COLOR, and LLGLSLShader::mAttribute.
LLViewerImage * LLDrawPoolTree::getTexture | ( | ) | [virtual] |
Reimplemented from LLFacePool.
Definition at line 276 of file lldrawpooltree.cpp.
References mTexturep.
virtual U32 LLDrawPoolTree::getVertexDataMask | ( | ) | [inline, virtual] |
LLDrawPool * LLDrawPoolTree::instancePool | ( | ) | [virtual] |
Implements LLDrawPool.
Definition at line 55 of file lldrawpooltree.cpp.
References LLDrawPoolTree(), and mTexturep.
void LLDrawPoolTree::prerender | ( | ) | [virtual] |
Implements LLDrawPool.
Definition at line 60 of file lldrawpooltree.cpp.
References LLDrawPool::mVertexShaderLevel.
Implements LLDrawPool.
Definition at line 73 of file lldrawpooltree.cpp.
References LLPipeline::enableLightsDynamic(), f, LLFastTimer::FTM_RENDER_TREES, gPipeline, LLFacePool::mDrawFace, renderTree(), and t.
void LLDrawPoolTree::renderForSelect | ( | ) | [virtual] |
Implements LLFacePool.
Definition at line 96 of file lldrawpooltree.cpp.
References f, glBlendFunc, LLFacePool::mDrawFace, renderTree(), and TRUE.
Definition at line 135 of file lldrawpooltree.cpp.
References LLDrawPool::addIndicesDrawn(), LLViewerImage::bindTexture(), LLVOTree::drawBranchPipeline(), f, face, LLPointer< Type >::get(), LLQuaternion::getAngleAxis(), LLViewerObject::getAppAngle(), LLViewerObject::getPositionAgent(), LLXform::getRotation(), LLXform::getScale(), LLDrawable::getVObj(), glPopMatrix, glRotatef, glTranslatef, LLDrawable::isDead(), j, LLVector3::magVec(), LLVOTree::mBranches, LLVOTree::mDepth, LLFacePool::mDrawFace, LLVOTree::mDroop, LLViewerObject::mGLName, mTexturep, LLVOTree::mTrunkBend, LLVOTree::mTrunkDepth, LLVOTree::mTwist, LLVector3::mV, RAD_TO_DEG, S32, sDiffTex, LLVOTree::sLODAngles, LLVOTree::sTreeFactor, TRUE, VERTEX_DATA_MASK, VX, VY, VZ, x, y, and z.
Referenced by render(), and renderForSelect().
BOOL LLDrawPoolTree::verify | ( | ) | const [virtual] |
LLPointer<LLViewerImage> LLDrawPoolTree::mTexturep [private] |
Definition at line 39 of file lldrawpooltree.h.
Referenced by getDebugTexture(), getTexture(), instancePool(), LLDrawPoolTree(), and renderTree().
S32 LLDrawPoolTree::sDiffTex = 0 [static] |