#include <lldrawpool.h>
Inheritance diagram for LLRenderPass:
Public Types | |
PASS_SIMPLE = NUM_POOL_TYPES | |
PASS_GLOW | |
PASS_FULLBRIGHT | |
PASS_INVISIBLE | |
PASS_SHINY | |
PASS_BUMP | |
PASS_GRASS | |
PASS_ALPHA | |
NUM_RENDER_TYPES | |
enum | { PASS_SIMPLE = NUM_POOL_TYPES, PASS_GLOW, PASS_FULLBRIGHT, PASS_INVISIBLE, PASS_SHINY, PASS_BUMP, PASS_GRASS, PASS_ALPHA, NUM_RENDER_TYPES } |
Public Member Functions | |
LLRenderPass (const U32 type) | |
virtual | ~LLRenderPass () |
LLDrawPool * | instancePool () |
S32 | getMaterialAttribIndex () |
LLViewerImage * | getDebugTexture () |
LLViewerImage * | getTexture () |
BOOL | isDead () |
void | resetDrawOrders () |
virtual void | pushBatch (LLDrawInfo ¶ms, U32 mask, BOOL texture) |
virtual void | renderGroup (LLSpatialGroup *group, U32 type, U32 mask, BOOL texture=TRUE) |
virtual void | renderStatic (U32 type, U32 mask, BOOL texture=TRUE) |
virtual void | renderActive (U32 type, U32 mask, BOOL texture=TRUE) |
virtual void | renderInvisible (U32 mask) |
virtual void | renderTexture (U32 type, U32 mask) |
Definition at line 107 of file lldrawpool.h.
anonymous enum |
PASS_SIMPLE | |
PASS_GLOW | |
PASS_FULLBRIGHT | |
PASS_INVISIBLE | |
PASS_SHINY | |
PASS_BUMP | |
PASS_GRASS | |
PASS_ALPHA | |
NUM_RENDER_TYPES |
Definition at line 110 of file lldrawpool.h.
LLRenderPass::LLRenderPass | ( | const U32 | type | ) |
Definition at line 452 of file lldrawpool.cpp.
LLRenderPass::~LLRenderPass | ( | ) | [virtual] |
Definition at line 458 of file lldrawpool.cpp.
LLViewerImage* LLRenderPass::getDebugTexture | ( | ) | [inline, virtual] |
S32 LLRenderPass::getMaterialAttribIndex | ( | ) | [inline, virtual] |
LLViewerImage* LLRenderPass::getTexture | ( | ) | [inline, virtual] |
LLDrawPool * LLRenderPass::instancePool | ( | ) | [virtual] |
BOOL LLRenderPass::isDead | ( | ) | [inline, virtual] |
void LLRenderPass::pushBatch | ( | LLDrawInfo & | params, | |
U32 | mask, | |||
BOOL | texture | |||
) | [virtual] |
Reimplemented in LLDrawPoolBump, and LLDrawPoolGlow.
Definition at line 529 of file lldrawpool.cpp.
References glDrawRangeElements, glLoadMatrixf, gPipeline, LLPipeline::mTrianglesDrawn, params, and LLImageGL::unbindTexture().
Referenced by LLDrawPoolGlow::pushBatch(), renderGroup(), and renderTexture().
Reimplemented in LLDrawPoolBump.
Definition at line 565 of file lldrawpool.cpp.
References LLGLState::checkClientArrays(), glMultMatrixf, glPopMatrix, gPipeline, LLPipeline::hasRenderType(), i, LLPipeline::mActiveGroups, NULL, and renderGroup().
Referenced by LLDrawPoolSimple::render(), LLDrawPoolGlow::render(), and LLPipeline::renderObjects().
void LLRenderPass::renderGroup | ( | LLSpatialGroup * | group, | |
U32 | type, | |||
U32 | mask, | |||
BOOL | texture = TRUE | |||
) | [virtual] |
Reimplemented in LLDrawPoolBump.
Definition at line 473 of file lldrawpool.cpp.
References LLSpatialGroup::mDrawMap, and pushBatch().
Referenced by renderActive(), and renderStatic().
Definition at line 486 of file lldrawpool.cpp.
References LLGLState::checkClientArrays(), glDrawRangeElements, gPipeline, i, LLPipeline::mRenderMap, LLPipeline::mTrianglesDrawn, params, and PASS_INVISIBLE.
Referenced by LLDrawPoolSimple::render().
Definition at line 597 of file lldrawpool.cpp.
References LLGLState::checkClientArrays(), gPipeline, LLPipeline::hasRenderType(), i, LLPipeline::mVisibleGroups, and renderGroup().
Referenced by LLRenderShinyGlow::render(), LLPipeline::renderObjects(), and LLDrawPoolBump::renderShiny().
Definition at line 512 of file lldrawpool.cpp.
References LLGLState::checkClientArrays(), gPipeline, i, LLPipeline::mRenderMap, pushBatch(), and TRUE.
Referenced by LLDrawPoolSimple::render(), and LLDrawPoolGlow::render().
void LLRenderPass::resetDrawOrders | ( | ) | [inline, virtual] |