LLGradientPaletteList Class Reference

#include <lltexlayer.h>

Collaboration diagram for LLGradientPaletteList:

Collaboration graph
List of all members.

Public Member Functions

 LLGradientPaletteList ()
 ~LLGradientPaletteList ()
void initPalette (F32 domain)
void setHardwarePalette (F32 domain, F32 effective_weight)

Private Types

typedef std::map< F32, U8 * > palette_map_t

Private Attributes

palette_map_t mPaletteMap

Detailed Description

Definition at line 554 of file lltexlayer.h.

Member Typedef Documentation

typedef std::map<F32, U8*> LLGradientPaletteList::palette_map_t [private]

Definition at line 564 of file lltexlayer.h.

Constructor & Destructor Documentation

LLGradientPaletteList::LLGradientPaletteList (  )  [inline]

Definition at line 557 of file lltexlayer.h.

LLGradientPaletteList::~LLGradientPaletteList (  ) 

Definition at line 2599 of file lltexlayer.cpp.

References mPaletteMap.

Member Function Documentation

void LLGradientPaletteList::initPalette ( F32  domain  ) 

Definition at line 2610 of file lltexlayer.cpp.

References f, i, llfloor(), mPaletteMap, and S32.

Referenced by LLTexLayerParamAlphaInfo::parseXml().

void LLGradientPaletteList::setHardwarePalette ( F32  domain,
F32  effective_weight 

Definition at line 2646 of file lltexlayer.cpp.

References f, llendl, llfloor(), llwarns, mPaletteMap, and set_palette().

Referenced by LLTexLayerParamAlpha::render().

Member Data Documentation

palette_map_t LLGradientPaletteList::mPaletteMap [private]

Definition at line 565 of file lltexlayer.h.

Referenced by initPalette(), setHardwarePalette(), and ~LLGradientPaletteList().

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