#include <lldrawpoolalpha.h>
Inheritance diagram for LLDrawPoolAlpha:
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 |
Definition at line 41 of file lldrawpoolalpha.h.
anonymous enum |
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.
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.
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().
BOOL LLDrawPoolAlpha::sShowDebugAlpha = FALSE [static] |
Definition at line 65 of file lldrawpoolalpha.h.
Referenced by LLViewCheckHighlightTransparent::handleEvent(), LLViewHighlightTransparent::handleEvent(), LLViewerWindow::hitObjectOrLandGlobalAsync(), and render().