LLDrawPoolTerrain Class Reference

#include <lldrawpoolterrain.h>

Inheritance diagram for LLDrawPoolTerrain:

Inheritance graph
[legend]
Collaboration diagram for LLDrawPoolTerrain:

Collaboration graph
[legend]

List of all members.

Public Types

enum  { VERTEX_DATA_MASK }

Public Member Functions

virtual U32 getVertexDataMask ()
 LLDrawPoolTerrain (LLViewerImage *texturep)
virtual ~LLDrawPoolTerrain ()
LLDrawPoolinstancePool ()
void render (S32 pass=0)
void prerender ()
void beginRenderPass (S32 pass)
void endRenderPass (S32 pass)
void renderForSelect ()
void dirtyTextures (const std::set< LLViewerImage * > &textures)
LLViewerImagegetTexture ()
LLViewerImagegetDebugTexture ()
LLColor3 getDebugColor () const

Static Public Member Functions

static S32 getDetailMode ()

Public Attributes

LLPointer< LLViewerImagemAlphaRampImagep
LLPointer< LLViewerImagem2DAlphaRampImagep
LLPointer< LLViewerImagemAlphaNoiseImagep

Static Public Attributes

static S32 sDetailMode = 1
static F32 sDetailScale = DETAIL_SCALE

Protected Member Functions

void renderSimple ()
void renderOwnership ()
void renderFull2TU ()
void renderFull4TU ()
void renderFullShader ()

Private Attributes

LLPointer< LLViewerImagemTexturep


Detailed Description

Definition at line 37 of file lldrawpoolterrain.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
VERTEX_DATA_MASK 

Definition at line 41 of file lldrawpoolterrain.h.


Constructor & Destructor Documentation

LLDrawPoolTerrain::LLDrawPoolTerrain ( LLViewerImage texturep  ) 

LLDrawPoolTerrain::~LLDrawPoolTerrain (  )  [virtual]

Definition at line 88 of file lldrawpoolterrain.cpp.

References LLPipeline::findPool(), getTexture(), LLDrawPool::getType(), gPipeline, llassert, and NULL.

Here is the call graph for this function:


Member Function Documentation

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

Implements LLDrawPool.

Definition at line 50 of file lldrawpoolterrain.h.

References VERTEX_DATA_MASK.

S32 LLDrawPoolTerrain::getDetailMode (  )  [static]

Definition at line 139 of file lldrawpoolterrain.cpp.

References sDetailMode.

Referenced by LLVertexBufferTerrain::setupVertexBuffer().

Here is the caller graph for this function:

LLDrawPool * LLDrawPoolTerrain::instancePool (  )  [virtual]

Implements LLDrawPool.

Definition at line 94 of file lldrawpoolterrain.cpp.

References LLDrawPoolTerrain(), and mTexturep.

Here is the call graph for this function:

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

void LLDrawPoolTerrain::prerender (  )  [virtual]

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

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

Reimplemented from LLDrawPool.

Definition at line 128 of file lldrawpoolterrain.cpp.

References LLDrawPool::endRenderPass(), LLFastTimer::FTM_RENDER_TERRAIN, LLGLSLShader::mShaderLevel, LLDrawPool::mVertexShaderLevel, and LLGLSLShader::unbind().

Here is the call graph for this function:

void LLDrawPoolTerrain::renderForSelect (  )  [virtual]

void LLDrawPoolTerrain::dirtyTextures ( const std::set< LLViewerImage * > &  textures  )  [virtual]

Reimplemented from LLFacePool.

Definition at line 987 of file lldrawpoolterrain.cpp.

References LLFace::getDrawable(), gPipeline, LLPipeline::markTextured(), LLFacePool::mReferences, and mTexturep.

Here is the call graph for this function:

LLViewerImage * LLDrawPoolTerrain::getTexture (  )  [virtual]

Reimplemented from LLFacePool.

Definition at line 1000 of file lldrawpoolterrain.cpp.

References mTexturep.

Referenced by ~LLDrawPoolTerrain().

Here is the caller graph for this function:

LLViewerImage * LLDrawPoolTerrain::getDebugTexture (  )  [virtual]

Reimplemented from LLDrawPool.

Definition at line 1005 of file lldrawpoolterrain.cpp.

References mTexturep.

LLColor3 LLDrawPoolTerrain::getDebugColor (  )  const

Definition at line 1011 of file lldrawpoolterrain.cpp.

void LLDrawPoolTerrain::renderSimple (  )  [protected]

Definition at line 869 of file lldrawpoolterrain.cpp.

References LLFacePool::drawLoop(), LLFacePool::mDrawFace, mTexturep, LLVector4::mV, LLVector3::mV, LLVector4::setVec(), and LLImageGL::unbindTexture().

Referenced by render().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLDrawPoolTerrain::renderOwnership (  )  [protected]

void LLDrawPoolTerrain::renderFull2TU (  )  [protected]

void LLDrawPoolTerrain::renderFull4TU (  )  [protected]

void LLDrawPoolTerrain::renderFullShader (  )  [protected]


Member Data Documentation

Definition at line 69 of file lldrawpoolterrain.h.

Referenced by LLDrawPoolTerrain().

Definition at line 71 of file lldrawpoolterrain.h.


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

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