#include <lldrawpool.h>


Public Types | |
| enum | { PASS_SIMPLE = NUM_POOL_TYPES, PASS_GRASS, PASS_FULLBRIGHT, PASS_INVISIBLE, PASS_INVISI_SHINY, PASS_FULLBRIGHT_SHINY, PASS_SHINY, PASS_BUMP, PASS_GLOW, PASS_ALPHA, NUM_RENDER_TYPES } |
Public Member Functions | |
| LLRenderPass (const U32 type) | |
| virtual | ~LLRenderPass () |
| LLDrawPool * | instancePool () |
| LLViewerImage * | getDebugTexture () |
| LLViewerImage * | getTexture () |
| BOOL | isDead () |
| void | resetDrawOrders () |
| virtual void | pushBatches (U32 type, U32 mask, BOOL texture=TRUE) |
| virtual void | pushBatch (LLDrawInfo ¶ms, U32 mask, BOOL texture) |
| virtual void | renderGroup (LLSpatialGroup *group, U32 type, U32 mask, BOOL texture=TRUE) |
| virtual void | renderGroups (U32 type, U32 mask, BOOL texture=TRUE) |
| virtual void | renderTexture (U32 type, U32 mask) |
Static Public Member Functions | |
| static void | applyModelMatrix (LLDrawInfo ¶ms) |
Definition at line 99 of file lldrawpool.h.
| anonymous enum |
| PASS_SIMPLE | |
| PASS_GRASS | |
| PASS_FULLBRIGHT | |
| PASS_INVISIBLE | |
| PASS_INVISI_SHINY | |
| PASS_FULLBRIGHT_SHINY | |
| PASS_SHINY | |
| PASS_BUMP | |
| PASS_GLOW | |
| PASS_ALPHA | |
| NUM_RENDER_TYPES |
Definition at line 102 of file lldrawpool.h.
| LLRenderPass::LLRenderPass | ( | const U32 | type | ) |
Definition at line 325 of file lldrawpool.cpp.
| LLRenderPass::~LLRenderPass | ( | ) | [virtual] |
Definition at line 331 of file lldrawpool.cpp.
| LLDrawPool * LLRenderPass::instancePool | ( | ) | [virtual] |
| LLViewerImage* LLRenderPass::getDebugTexture | ( | ) | [inline, virtual] |
| LLViewerImage* LLRenderPass::getTexture | ( | ) | [inline, virtual] |
| BOOL LLRenderPass::isDead | ( | ) | [inline, virtual] |
| void LLRenderPass::resetDrawOrders | ( | ) | [inline, virtual] |
| void LLRenderPass::applyModelMatrix | ( | LLDrawInfo & | params | ) | [static] |
Definition at line 376 of file lldrawpool.cpp.
References gGLLastMatrix, gGLModelView, gPipeline, LLMatrix4::mMatrix, LLPipeline::mMatrixOpCount, and LLDrawInfo::mModelMatrix.
Referenced by LLDrawPoolBump::pushBatch(), pushBatch(), pushBufferVerts(), pushVerts(), pushVertsColorCoded(), LLDrawPoolAlpha::renderAlphaHighlight(), LLDrawPoolBump::renderGroup(), and LLDrawPoolAlpha::renderGroupAlpha().

Definition at line 364 of file lldrawpool.cpp.
References LLPipeline::beginRenderMap(), LLPipeline::endRenderMap(), gPipeline, i, and pushBatch().
Referenced by LLDrawPoolInvisible::render(), and renderTexture().


| void LLRenderPass::pushBatch | ( | LLDrawInfo & | params, | |
| U32 | mask, | |||
| BOOL | texture | |||
| ) | [virtual] |
Reimplemented in LLDrawPoolBump, and LLDrawPoolGlow.
Definition at line 390 of file lldrawpool.cpp.
References LLPipeline::addTrianglesDrawn(), applyModelMatrix(), gPipeline, LLDrawInfo::mCount, LLDrawInfo::mEnd, LLMatrix4::mMatrix, LLDrawInfo::mOffset, LLDrawInfo::mStart, LLDrawInfo::mTexture, LLDrawInfo::mTextureMatrix, LLPipeline::mTextureMatrixOps, LLDrawInfo::mVertexBuffer, LLDrawInfo::mVSize, LLPointer< Type >::notNull(), LLVertexBuffer::TRIANGLES, and LLImageGL::unbindTexture().
Referenced by LLDrawPoolGlow::pushBatch(), pushBatches(), and renderGroup().


| void LLRenderPass::renderGroup | ( | LLSpatialGroup * | group, | |
| U32 | type, | |||
| U32 | mask, | |||
| BOOL | texture = TRUE | |||
| ) | [virtual] |
Reimplemented in LLDrawPoolBump.
Definition at line 346 of file lldrawpool.cpp.
References LLSpatialGroup::mDrawMap, and pushBatch().
Referenced by LLPipeline::renderGroups().


Definition at line 427 of file lldrawpool.cpp.
References gPipeline, and LLPipeline::renderGroups().
Referenced by LLPipeline::renderObjects(), and LLDrawPoolBump::renderShiny().


Definition at line 359 of file lldrawpool.cpp.
References pushBatches(), and TRUE.
Referenced by LLDrawPoolSimple::render(), LLDrawPoolGlow::render(), LLDrawPoolBump::renderFullbrightShiny(), and LLDrawPoolBump::renderShiny().


1.5.5