LLRenderPass Class Reference

#include <lldrawpool.h>

Inheritance diagram for LLRenderPass:

Inheritance graph
[legend]
Collaboration diagram for LLRenderPass:

Collaboration graph
[legend]
List of all members.

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 ()
LLDrawPoolinstancePool ()
S32 getMaterialAttribIndex ()
LLViewerImagegetDebugTexture ()
LLViewerImagegetTexture ()
BOOL isDead ()
void resetDrawOrders ()
virtual void pushBatch (LLDrawInfo &params, 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)

Detailed Description

Definition at line 107 of file lldrawpool.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
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.


Constructor & Destructor Documentation

LLRenderPass::LLRenderPass ( const U32  type  ) 

Definition at line 452 of file lldrawpool.cpp.

LLRenderPass::~LLRenderPass (  )  [virtual]

Definition at line 458 of file lldrawpool.cpp.


Member Function Documentation

LLViewerImage* LLRenderPass::getDebugTexture (  )  [inline, virtual]

Reimplemented from LLDrawPool.

Definition at line 127 of file lldrawpool.h.

References NULL.

S32 LLRenderPass::getMaterialAttribIndex (  )  [inline, virtual]

Implements LLDrawPool.

Definition at line 126 of file lldrawpool.h.

LLViewerImage* LLRenderPass::getTexture (  )  [inline, virtual]

Implements LLDrawPool.

Definition at line 128 of file lldrawpool.h.

References NULL.

LLDrawPool * LLRenderPass::instancePool (  )  [virtual]

Implements LLDrawPool.

Definition at line 463 of file lldrawpool.cpp.

References llendl, llerrs, llwarns, and NULL.

BOOL LLRenderPass::isDead (  )  [inline, virtual]

Implements LLDrawPool.

Definition at line 129 of file lldrawpool.h.

References FALSE.

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().

void LLRenderPass::renderActive ( U32  type,
U32  mask,
BOOL  texture = TRUE 
) [virtual]

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().

void LLRenderPass::renderInvisible ( U32  mask  )  [virtual]

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().

void LLRenderPass::renderStatic ( U32  type,
U32  mask,
BOOL  texture = TRUE 
) [virtual]

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().

void LLRenderPass::renderTexture ( U32  type,
U32  mask 
) [virtual]

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]

Implements LLDrawPool.

Definition at line 130 of file lldrawpool.h.


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:42 2010 for Second Life Viewer by  doxygen 1.4.7