LLDrawPoolBump Class Reference

#include <lldrawpoolbump.h>

Inheritance diagram for LLDrawPoolBump:

Inheritance graph
[legend]
Collaboration diagram for LLDrawPoolBump:

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual U32 getVertexDataMask ()
 LLDrawPoolBump ()
virtual void render (S32 pass=0)
virtual void beginRenderPass (S32 pass)
virtual void endRenderPass (S32 pass)
virtual S32 getNumPasses ()
void prerender ()
void pushBatch (LLDrawInfo &params, U32 mask, BOOL texture)
void renderBump (U32 type, U32 mask)
void renderGroup (LLSpatialGroup *group, U32 type, U32 mask, BOOL texture)
void renderGroupBump (LLSpatialGroup *group, U32 type, U32 mask)
S32 numBumpPasses ()
void beginShiny (bool invisible=false)
void renderShiny (bool invisible=false)
void endShiny (bool invisible=false)
void beginFullbrightShiny ()
void renderFullbrightShiny ()
void endFullbrightShiny ()
void beginBump ()
void renderBump ()
void endBump ()
BOOL bindBumpMap (LLDrawInfo &params)

Public Attributes

BOOL mShiny

Static Public Attributes

static U32 sVertexMask = VERTEX_MASK_SHINY

Protected Member Functions

 LLDrawPoolBump (const U32 type)


Detailed Description

Definition at line 44 of file lldrawpoolbump.h.


Constructor & Destructor Documentation

LLDrawPoolBump::LLDrawPoolBump ( const U32  type  )  [inline, protected]

Definition at line 47 of file lldrawpoolbump.h.

References FALSE, and mShiny.

LLDrawPoolBump::LLDrawPoolBump (  ) 

Definition at line 171 of file lldrawpoolbump.cpp.

References FALSE, and mShiny.


Member Function Documentation

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

Implements LLDrawPool.

Reimplemented in LLDrawPoolInvisible.

Definition at line 52 of file lldrawpoolbump.h.

References sVertexMask.

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

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

Reimplemented from LLDrawPool.

Reimplemented in LLDrawPoolInvisible.

Definition at line 219 of file lldrawpoolbump.cpp.

References beginBump(), beginFullbrightShiny(), beginShiny(), LLFastTimer::FTM_RENDER_BUMP, llassert, and LLDrawPool::mVertexShaderLevel.

Here is the call graph for this function:

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

Reimplemented from LLDrawPool.

Reimplemented in LLDrawPoolInvisible.

Definition at line 279 of file lldrawpoolbump.cpp.

References endBump(), endFullbrightShiny(), endShiny(), LLFastTimer::FTM_RENDER_BUMP, llassert, and LLDrawPool::mVertexShaderLevel.

Here is the call graph for this function:

S32 LLDrawPoolBump::getNumPasses (  )  [virtual]

Reimplemented from LLDrawPool.

Reimplemented in LLDrawPoolInvisible.

Definition at line 214 of file lldrawpoolbump.cpp.

References numBumpPasses().

Here is the call graph for this function:

void LLDrawPoolBump::prerender (  )  [virtual]

Implements LLDrawPool.

Reimplemented in LLDrawPoolInvisible.

Definition at line 178 of file lldrawpoolbump.cpp.

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

Here is the call graph for this function:

void LLDrawPoolBump::pushBatch ( LLDrawInfo params,
U32  mask,
BOOL  texture 
) [virtual]

void LLDrawPoolBump::renderBump ( U32  type,
U32  mask 
)

Definition at line 1065 of file lldrawpoolbump.cpp.

References LLPipeline::beginRenderMap(), bindBumpMap(), LLPipeline::endRenderMap(), FALSE, gPipeline, i, and pushBatch().

Here is the call graph for this function:

void LLDrawPoolBump::renderGroup ( LLSpatialGroup group,
U32  type,
U32  mask,
BOOL  texture = TRUE 
) [virtual]

void LLDrawPoolBump::renderGroupBump ( LLSpatialGroup group,
U32  type,
U32  mask 
)

Definition at line 1081 of file lldrawpoolbump.cpp.

References bindBumpMap(), FALSE, LLSpatialGroup::mDrawMap, and pushBatch().

Here is the call graph for this function:

S32 LLDrawPoolBump::numBumpPasses (  ) 

Definition at line 184 of file lldrawpoolbump.cpp.

References LLControlGroup::getBOOL(), gSavedSettings, LLDrawPool::mVertexShaderLevel, and LLPipeline::sImpostorRender.

Referenced by getNumPasses().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLDrawPoolBump::beginShiny ( bool  invisible = false  ) 

void LLDrawPoolBump::renderShiny ( bool  invisible = false  ) 

void LLDrawPoolBump::endShiny ( bool  invisible = false  ) 

void LLDrawPoolBump::beginFullbrightShiny (  ) 

void LLDrawPoolBump::renderFullbrightShiny (  ) 

Definition at line 508 of file lldrawpoolbump.cpp.

References LLFastTimer::FTM_RENDER_SHINY, gPipeline, gSky, LLPipeline::hasRenderBatches(), LLSky::mVOSkyp, NULL, LLRenderPass::PASS_FULLBRIGHT_SHINY, LLRenderPass::renderTexture(), and sVertexMask.

Referenced by render().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLDrawPoolBump::endFullbrightShiny (  ) 

void LLDrawPoolBump::beginBump (  ) 

Definition at line 639 of file lldrawpoolbump.cpp.

References LLGLImmediate::blendFunc(), LLFastTimer::FTM_RENDER_BUMP, gGL, gPipeline, LLPipeline::hasRenderBatches(), LLRenderPass::PASS_BUMP, stop_glerror, sVertexMask, LLImageGL::unbindTexture(), and VERTEX_MASK_BUMP.

Referenced by beginRenderPass().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLDrawPoolBump::renderBump (  ) 

Get rid of z-fighting with non-bump pass.

Definition at line 704 of file lldrawpoolbump.cpp.

References LLFastTimer::FTM_RENDER_BUMP, gPipeline, LLPipeline::hasRenderBatches(), LLRenderPass::PASS_BUMP, and sVertexMask.

Referenced by render().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLDrawPoolBump::endBump (  ) 

Definition at line 723 of file lldrawpoolbump.cpp.

References LLGLImmediate::blendFunc(), gGL, gPipeline, LLPipeline::hasRenderBatches(), and LLRenderPass::PASS_BUMP.

Referenced by endRenderPass().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLDrawPoolBump::bindBumpMap ( LLDrawInfo params  ) 


Member Data Documentation


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

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