LLDrawPool Class Reference

#include <lldrawpool.h>

Inheritance diagram for LLDrawPool:

Inheritance graph
[legend]

List of all members.

Public Types

enum  {
  POOL_SIMPLE = 1, POOL_TERRAIN, POOL_TREE, POOL_SKY,
  POOL_WL_SKY, POOL_GROUND, POOL_BUMP, POOL_INVISIBLE,
  POOL_AVATAR, POOL_WATER, POOL_GLOW, POOL_ALPHA,
  NUM_POOL_TYPES
}

Public Member Functions

 LLDrawPool (const U32 type)
virtual ~LLDrawPool ()
virtual BOOL isDead ()=0
S32 getId () const
U32 getType () const
virtual LLViewerImagegetDebugTexture ()
virtual void beginRenderPass (S32 pass)
virtual void endRenderPass (S32 pass)
virtual S32 getNumPasses ()
virtual void render (S32 pass=0)=0
virtual void prerender ()=0
virtual U32 getVertexDataMask ()=0
virtual BOOL verify () const
virtual S32 getVertexShaderLevel () const
virtual LLDrawPoolinstancePool ()=0
virtual LLViewerImagegetTexture ()=0
virtual BOOL isFacePool ()
virtual void resetDrawOrders ()=0

Static Public Member Functions

static LLDrawPoolcreatePool (const U32 type, LLViewerImage *tex0=NULL)

Static Public Attributes

static S32 sNumDrawPools = 0

Protected Attributes

S32 mVertexShaderLevel
S32 mId
U32 mType


Detailed Description

Definition at line 46 of file lldrawpool.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
POOL_SIMPLE 
POOL_TERRAIN 
POOL_TREE 
POOL_SKY 
POOL_WL_SKY 
POOL_GROUND 
POOL_BUMP 
POOL_INVISIBLE 
POOL_AVATAR 
POOL_WATER 
POOL_GLOW 
POOL_ALPHA 
NUM_POOL_TYPES 

Definition at line 51 of file lldrawpool.h.


Constructor & Destructor Documentation

LLDrawPool::LLDrawPool ( const U32  type  ) 

Definition at line 112 of file lldrawpool.cpp.

References mId, mType, mVertexShaderLevel, and sNumDrawPools.

LLDrawPool::~LLDrawPool (  )  [virtual]

Definition at line 120 of file lldrawpool.cpp.


Member Function Documentation

virtual BOOL LLDrawPool::isDead (  )  [pure virtual]

Implemented in LLRenderPass, LLFacePool, and LLDrawPoolWLSky.

Referenced by LLPipeline::rebuildPools().

Here is the caller graph for this function:

S32 LLDrawPool::getId (  )  const [inline]

Definition at line 74 of file lldrawpool.h.

References mId.

Referenced by LLPipeline::compare_pools::operator()().

Here is the caller graph for this function:

U32 LLDrawPool::getType (  )  const [inline]

LLViewerImage * LLDrawPool::getDebugTexture (  )  [virtual]

Reimplemented in LLRenderPass, LLDrawPoolAvatar, LLDrawPoolTerrain, LLDrawPoolTree, LLDrawPoolWater, and LLDrawPoolWLSky.

Definition at line 125 of file lldrawpool.cpp.

References NULL.

void LLDrawPool::beginRenderPass ( S32  pass  )  [virtual]

void LLDrawPool::endRenderPass ( S32  pass  )  [virtual]

virtual S32 LLDrawPool::getNumPasses (  )  [inline, virtual]

Reimplemented in LLDrawPoolAlpha, LLDrawPoolAvatar, LLDrawPoolBump, LLDrawPoolInvisible, LLDrawPoolSimple, LLDrawPoolTree, LLDrawPoolWater, and LLDrawPoolWLSky.

Definition at line 80 of file lldrawpool.h.

Referenced by LLPipeline::renderGeom().

Here is the caller graph for this function:

virtual void LLDrawPool::render ( S32  pass = 0  )  [pure virtual]

virtual void LLDrawPool::prerender (  )  [pure virtual]

virtual U32 LLDrawPool::getVertexDataMask (  )  [pure virtual]

virtual BOOL LLDrawPool::verify (  )  const [inline, virtual]

Reimplemented in LLFacePool, LLDrawPoolTree, and LLDrawPoolWLSky.

Definition at line 84 of file lldrawpool.h.

References TRUE.

Referenced by LLPipeline::verify().

Here is the caller graph for this function:

virtual S32 LLDrawPool::getVertexShaderLevel (  )  const [inline, virtual]

Reimplemented in LLDrawPoolAvatar, and LLDrawPoolWLSky.

Definition at line 85 of file lldrawpool.h.

References mVertexShaderLevel.

Referenced by LLViewerJointMesh::drawShape(), LLPipeline::setupHWLights(), LLVOSky::updateGeometry(), LLVOAvatar::updateLOD(), and LLViewerJointMesh::uploadJointMatrices().

Here is the caller graph for this function:

LLDrawPool * LLDrawPool::createPool ( const U32  type,
LLViewerImage tex0 = NULL 
) [static]

Definition at line 62 of file lldrawpool.cpp.

References llassert, llendl, llerrs, mType, NULL, POOL_ALPHA, POOL_AVATAR, POOL_BUMP, POOL_GLOW, POOL_GROUND, POOL_INVISIBLE, POOL_SIMPLE, POOL_SKY, POOL_TERRAIN, POOL_TREE, POOL_WATER, and POOL_WL_SKY.

Referenced by LLPipeline::getPool().

Here is the caller graph for this function:

virtual LLDrawPool* LLDrawPool::instancePool (  )  [pure virtual]

virtual LLViewerImage* LLDrawPool::getTexture (  )  [pure virtual]

Implemented in LLRenderPass, LLFacePool, LLDrawPoolTerrain, LLDrawPoolTree, and LLDrawPoolWLSky.

Referenced by LLPipeline::addToQuickLookup(), and LLPipeline::removeFromQuickLookup().

Here is the caller graph for this function:

virtual BOOL LLDrawPool::isFacePool (  )  [inline, virtual]

Reimplemented in LLFacePool, and LLDrawPoolWLSky.

Definition at line 90 of file lldrawpool.h.

References FALSE.

Referenced by LLPipeline::cleanup(), LLPipeline::dirtyPoolObjectTextures(), and LLPipeline::renderForSelect().

Here is the caller graph for this function:

virtual void LLDrawPool::resetDrawOrders (  )  [pure virtual]

Implemented in LLRenderPass, LLFacePool, and LLDrawPoolWLSky.

Referenced by LLPipeline::resetDrawOrders().

Here is the caller graph for this function:


Member Data Documentation

Definition at line 49 of file lldrawpool.h.

Referenced by LLDrawPool().

S32 LLDrawPool::mId [protected]

Definition at line 95 of file lldrawpool.h.

Referenced by getId(), and LLDrawPool().

U32 LLDrawPool::mType [protected]

Definition at line 96 of file lldrawpool.h.

Referenced by createPool(), getType(), and LLDrawPool().


The documentation for this class was generated from the following files:

Generated on Fri May 16 08:44:00 2008 for SecondLife by  doxygen 1.5.5