LLFacePool::LLOverrideFaceColor Class Reference

#include <lldrawpool.h>

Collaboration diagram for LLFacePool::LLOverrideFaceColor:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLOverrideFaceColor (LLDrawPool *pool)
 LLOverrideFaceColor (LLDrawPool *pool, const LLColor4 &color)
 LLOverrideFaceColor (LLDrawPool *pool, const LLColor4U &color)
 LLOverrideFaceColor (LLDrawPool *pool, F32 r, F32 g, F32 b, F32 a)
 ~LLOverrideFaceColor ()
void setColor (const LLColor4 &color)
void setColor (const LLColor4U &color)
void setColor (F32 r, F32 g, F32 b, F32 a)

Public Attributes

BOOL mOverride
LLDrawPoolmPool

Static Public Attributes

static BOOL sOverrideFaceColor = FALSE

Detailed Description

Definition at line 199 of file lldrawpool.h.


Constructor & Destructor Documentation

LLFacePool::LLOverrideFaceColor::LLOverrideFaceColor ( LLDrawPool pool  )  [inline]

Definition at line 202 of file lldrawpool.h.

References sOverrideFaceColor, and TRUE.

LLFacePool::LLOverrideFaceColor::LLOverrideFaceColor ( LLDrawPool pool,
const LLColor4 color 
) [inline]

Definition at line 207 of file lldrawpool.h.

References setColor(), sOverrideFaceColor, and TRUE.

LLFacePool::LLOverrideFaceColor::LLOverrideFaceColor ( LLDrawPool pool,
const LLColor4U color 
) [inline]

Definition at line 213 of file lldrawpool.h.

References setColor(), sOverrideFaceColor, and TRUE.

LLFacePool::LLOverrideFaceColor::LLOverrideFaceColor ( LLDrawPool pool,
F32  r,
F32  g,
F32  b,
F32  a 
) [inline]

Definition at line 219 of file lldrawpool.h.

References setColor(), sOverrideFaceColor, and TRUE.

LLFacePool::LLOverrideFaceColor::~LLOverrideFaceColor (  )  [inline]

Definition at line 225 of file lldrawpool.h.

References mOverride, and sOverrideFaceColor.


Member Function Documentation

void LLFacePool::LLOverrideFaceColor::setColor ( F32  r,
F32  g,
F32  b,
F32  a 
)

Definition at line 436 of file lldrawpool.cpp.

References LLDrawPool::getMaterialAttribIndex(), LLDrawPool::getVertexShaderLevel(), glColor4f, and mPool.

void LLFacePool::LLOverrideFaceColor::setColor ( const LLColor4U color  ) 

Definition at line 424 of file lldrawpool.cpp.

References LLDrawPool::getMaterialAttribIndex(), LLDrawPool::getVertexShaderLevel(), glColor4ubv, mPool, and LLColor4U::mV.

void LLFacePool::LLOverrideFaceColor::setColor ( const LLColor4 color  ) 

Definition at line 412 of file lldrawpool.cpp.

References LLDrawPool::getMaterialAttribIndex(), LLDrawPool::getVertexShaderLevel(), glColor4fv, mPool, and LLColor4::mV.

Referenced by LLOverrideFaceColor().


Member Data Documentation

BOOL LLFacePool::LLOverrideFaceColor::mOverride

Definition at line 232 of file lldrawpool.h.

Referenced by ~LLOverrideFaceColor().

LLDrawPool* LLFacePool::LLOverrideFaceColor::mPool

Definition at line 233 of file lldrawpool.h.

Referenced by setColor().

BOOL LLFacePool::LLOverrideFaceColor::sOverrideFaceColor = FALSE [static]

Definition at line 234 of file lldrawpool.h.

Referenced by LLOverrideFaceColor(), LLFace::renderSetColor(), and ~LLOverrideFaceColor().


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