LLDrawPoolAlpha Class Reference

#include <lldrawpoolalpha.h>

Inheritance diagram for LLDrawPoolAlpha:

Inheritance graph
[legend]
Collaboration diagram for LLDrawPoolAlpha:

Collaboration graph
[legend]
List of all members.

Public Types

 VERTEX_DATA_MASK
enum  { VERTEX_DATA_MASK }

Public Member Functions

virtual U32 getVertexDataMask ()
 LLDrawPoolAlpha (U32 type=LLDrawPool::POOL_ALPHA)
 ~LLDrawPoolAlpha ()
void beginRenderPass (S32 pass=0)
virtual void render (S32 pass=0)
void render (std::vector< LLSpatialGroup * > &groups)
void prerender ()
void renderGroupAlpha (LLSpatialGroup *group, U32 type, U32 mask, BOOL texture=TRUE)
void renderAlpha (U32 mask, std::vector< LLSpatialGroup * > &groups)
void renderAlphaHighlight (U32 mask, std::vector< LLSpatialGroup * > &groups)

Static Public Attributes

static BOOL sShowDebugAlpha = FALSE

Detailed Description

Definition at line 41 of file lldrawpoolalpha.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
VERTEX_DATA_MASK 

Definition at line 44 of file lldrawpoolalpha.h.


Constructor & Destructor Documentation

LLDrawPoolAlpha::LLDrawPoolAlpha ( U32  type = LLDrawPool::POOL_ALPHA  ) 

Definition at line 56 of file lldrawpoolalpha.cpp.

LLDrawPoolAlpha::~LLDrawPoolAlpha (  ) 

Definition at line 67 of file lldrawpoolalpha.cpp.


Member Function Documentation

void LLDrawPoolAlpha::beginRenderPass ( S32  pass = 0  )  [virtual]

Reimplemented from LLDrawPool.

Definition at line 77 of file lldrawpoolalpha.cpp.

virtual U32 LLDrawPoolAlpha::getVertexDataMask (  )  [inline, virtual]

Implements LLDrawPool.

Definition at line 51 of file lldrawpoolalpha.h.

References VERTEX_DATA_MASK.

Referenced by render().

void LLDrawPoolAlpha::prerender (  )  [virtual]

Implements LLDrawPool.

Definition at line 72 of file lldrawpoolalpha.cpp.

References LLShaderMgr::getVertexShaderLevel(), LLDrawPool::mVertexShaderLevel, and LLShaderMgr::SHADER_OBJECT.

void LLDrawPoolAlpha::render ( std::vector< LLSpatialGroup * > &  groups  ) 

Definition at line 124 of file lldrawpoolalpha.cpp.

References LLPipeline::enableLightsDynamic(), LLPipeline::enableLightsFullbright(), f, getVertexDataMask(), glColor4f, gPipeline, LLVertexBuffer::MAP_TEXCOORD, LLVertexBuffer::MAP_VERTEX, renderAlpha(), renderAlphaHighlight(), sShowDebugAlpha, and LLViewerImage::sSmokeImagep.

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

Implements LLDrawPool.

Reimplemented in LLDrawPoolAlphaPostWater.

Definition at line 115 of file lldrawpoolalpha.cpp.

References LLFastTimer::FTM_RENDER_ALPHA, gPipeline, LLPipeline::mAlphaGroups, setup_clip_plane(), t, and TRUE.

Referenced by LLDrawPoolAlphaPostWater::render().

void LLDrawPoolAlpha::renderAlpha ( U32  mask,
std::vector< LLSpatialGroup * > &  groups 
)

Definition at line 145 of file lldrawpoolalpha.cpp.

References LLGLState::checkClientArrays(), depth, LLDrawable::getRenderMatrix(), glMultMatrixf, glPopMatrix, i, LLSpatialBridge::mDrawable, LLMatrix4::mMatrix, NULL, LLRenderPass::PASS_ALPHA, renderGroupAlpha(), and TRUE.

Referenced by render().

void LLDrawPoolAlpha::renderAlphaHighlight ( U32  mask,
std::vector< LLSpatialGroup * > &  groups 
)

Definition at line 191 of file lldrawpoolalpha.cpp.

References LLDrawPool::addIndicesDrawn(), LLGLState::checkClientArrays(), LLDrawable::getRenderMatrix(), glDrawRangeElements, glMultMatrixf, glPopMatrix, i, LLSpatialBridge::mDrawable, LLMatrix4::mMatrix, NULL, params, and LLRenderPass::PASS_ALPHA.

Referenced by render().

void LLDrawPoolAlpha::renderGroupAlpha ( LLSpatialGroup group,
U32  type,
U32  mask,
BOOL  texture = TRUE 
)

Definition at line 247 of file lldrawpoolalpha.cpp.

References LLDrawPool::addIndicesDrawn(), LLPipeline::enableLightsDynamic(), LLPipeline::enableLightsFullbright(), f, FALSE, glDrawRangeElements, glGetBooleanv, glLoadMatrixf, gPipeline, LLSpatialPartition::mDrawableType, LLSpatialGroup::mDrawMap, LLSpatialGroup::mSpatialPartition, params, LLPipeline::RENDER_TYPE_CLOUDS, LLPipeline::sRenderGlow, and TRUE.

Referenced by renderAlpha().


Member Data Documentation

BOOL LLDrawPoolAlpha::sShowDebugAlpha = FALSE [static]

Definition at line 65 of file lldrawpoolalpha.h.

Referenced by LLViewCheckHighlightTransparent::handleEvent(), LLViewHighlightTransparent::handleEvent(), LLViewerWindow::hitObjectOrLandGlobalAsync(), and render().


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