LLTexLayerSet Class Reference

#include <lltexlayer.h>

Collaboration diagram for LLTexLayerSet:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLTexLayerSet (LLVOAvatar *avatar)
 ~LLTexLayerSet ()
LLTexLayerSetInfogetInfo () const
BOOL setInfo (LLTexLayerSetInfo *info)
BOOL render (S32 x, S32 y, S32 width, S32 height)
BOOL renderBump (S32 x, S32 y, S32 width, S32 height)
BOOL isBodyRegion (const char *region)
LLTexLayerSetBuffergetComposite ()
void requestUpdate ()
void requestUpload ()
void cancelUpload ()
LLVOAvatargetAvatar ()
void updateComposite ()
BOOL isLocalTextureDataAvailable ()
BOOL isLocalTextureDataFinal ()
void createComposite ()
void destroyComposite ()
void setUpdatesEnabled (BOOL b)
BOOL getUpdatesEnabled ()
void deleteCaches ()
void gatherAlphaMasks (U8 *data, S32 width, S32 height)
void applyMorphMask (U8 *tex_data, S32 width, S32 height, S32 num_components)
const LLStringgetBodyRegion ()
BOOL hasComposite ()
void setBump (BOOL b)
BOOL hasBump ()

Static Public Attributes

static BOOL sHasCaches = FALSE

Protected Types

typedef std::vector< LLTexLayer * > layer_list_t

Protected Attributes

layer_list_t mLayerList
LLTexLayerSetBuffermComposite
LLVOAvatarmAvatar
BOOL mUpdatesEnabled
BOOL mHasBump
LLTexLayerSetInfomInfo


Detailed Description

Definition at line 251 of file lltexlayer.h.


Member Typedef Documentation

typedef std::vector<LLTexLayer *> LLTexLayerSet::layer_list_t [protected]

Definition at line 289 of file lltexlayer.h.


Constructor & Destructor Documentation

LLTexLayerSet::LLTexLayerSet ( LLVOAvatar avatar  ) 

Definition at line 661 of file lltexlayer.cpp.

LLTexLayerSet::~LLTexLayerSet (  ) 

Definition at line 671 of file lltexlayer.cpp.

References mComposite, and mLayerList.


Member Function Documentation

LLTexLayerSetInfo* LLTexLayerSet::getInfo (  )  const [inline]

Definition at line 258 of file lltexlayer.h.

References mInfo.

Referenced by render().

Here is the caller graph for this function:

BOOL LLTexLayerSet::setInfo ( LLTexLayerSetInfo info  ) 

Definition at line 681 of file lltexlayer.cpp.

References FALSE, llassert, mInfo, LLTexLayerSetInfo::mLayerInfoList, mLayerList, NULL, requestUpdate(), LLTexLayer::setInfo(), stop_glerror, and TRUE.

Referenced by LLVOAvatar::loadAvatar().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLTexLayerSet::render ( S32  x,
S32  y,
S32  width,
S32  height 
)

BOOL LLTexLayerSet::renderBump ( S32  x,
S32  y,
S32  width,
S32  height 
)

Definition at line 818 of file lltexlayer.cpp.

References LLGLImmediate::color4f(), LLTexLayer::getRenderPass(), gGL, gl_rect_2d_simple(), mLayerList, LLTexLayer::render(), RP_BUMP, stop_glerror, and TRUE.

Referenced by LLTexLayerSetBuffer::render().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLTexLayerSet::isBodyRegion ( const char *  region  )  [inline]

Definition at line 264 of file lltexlayer.h.

References LLTexLayerSetInfo::mBodyRegion, and mInfo.

Referenced by LLVOAvatar::loadAvatar().

Here is the caller graph for this function:

LLTexLayerSetBuffer * LLTexLayerSet::getComposite (  ) 

Definition at line 909 of file lltexlayer.cpp.

References createComposite(), and mComposite.

Referenced by LLViewerJointMesh::drawShape(), LLVOAvatar::hasPendingBakedUploads(), and LLVOAvatar::updateMeshTextures().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLTexLayerSet::requestUpdate (  ) 

Definition at line 849 of file lltexlayer.cpp.

References createComposite(), mComposite, mUpdatesEnabled, and LLTexLayerSetBuffer::requestUpdate().

Referenced by LLVOAvatar::invalidateComposite(), LLVOAvatar::requestLayerSetUpdate(), LLTexLayer::requestUpdate(), and setInfo().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLTexLayerSet::requestUpload (  ) 

Definition at line 858 of file lltexlayer.cpp.

References createComposite(), mComposite, and LLTexLayerSetBuffer::requestUpload().

Referenced by LLVOAvatar::invalidateComposite(), and LLVOAvatar::requestLayerSetUploads().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLTexLayerSet::cancelUpload (  ) 

Definition at line 864 of file lltexlayer.cpp.

References LLTexLayerSetBuffer::cancelUpload(), and mComposite.

Referenced by LLVOAvatar::forceBakeAllTextures(), and LLVOAvatar::setCachedBakedTexture().

Here is the call graph for this function:

Here is the caller graph for this function:

LLVOAvatar* LLTexLayerSet::getAvatar (  )  [inline]

void LLTexLayerSet::updateComposite (  ) 

Definition at line 903 of file lltexlayer.cpp.

References createComposite(), mComposite, and LLTexLayerSetBuffer::updateImmediate().

Referenced by LLVOAvatar::updateComposites().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLTexLayerSet::isLocalTextureDataAvailable (  ) 

Definition at line 740 of file lltexlayer.cpp.

References LLVOAvatar::isLocalTextureDataAvailable(), and mAvatar.

Referenced by LLTexLayerSetBuffer::needsRender().

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL LLTexLayerSet::isLocalTextureDataFinal (  ) 

Definition at line 747 of file lltexlayer.cpp.

References LLVOAvatar::isLocalTextureDataFinal(), and mAvatar.

Referenced by LLTexLayerSetBuffer::needsRender(), and LLTexLayerSetBuffer::render().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLTexLayerSet::createComposite (  ) 

void LLTexLayerSet::destroyComposite (  ) 

Definition at line 888 of file lltexlayer.cpp.

References mComposite, and NULL.

Referenced by LLVOAvatar::updateMeshTextures(), and LLVOAvatar::useBakedTexture().

Here is the caller graph for this function:

void LLTexLayerSet::setUpdatesEnabled ( BOOL  b  ) 

Definition at line 897 of file lltexlayer.cpp.

References mUpdatesEnabled.

Referenced by LLVOAvatar::forceBakeAllTextures(), LLVOAvatar::setCompositeUpdatesEnabled(), LLVOAvatar::setupComposites(), and LLVOAvatar::updateMeshTextures().

Here is the caller graph for this function:

BOOL LLTexLayerSet::getUpdatesEnabled (  )  [inline]

Definition at line 276 of file lltexlayer.h.

References mUpdatesEnabled.

Referenced by LLVOAvatar::invalidateComposite().

Here is the caller graph for this function:

void LLTexLayerSet::deleteCaches (  ) 

Definition at line 730 of file lltexlayer.cpp.

References LLTexLayer::deleteCaches(), and mLayerList.

Referenced by LLVOAvatar::deleteLayerSetCaches(), and LLTexLayerSetBuffer::readBackAndUpload().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLTexLayerSet::gatherAlphaMasks ( U8 data,
S32  width,
S32  height 
)

void LLTexLayerSet::applyMorphMask ( U8 tex_data,
S32  width,
S32  height,
S32  num_components 
)

Definition at line 947 of file lltexlayer.cpp.

References LLTexLayer::applyMorphMask(), and mLayerList.

Here is the call graph for this function:

const LLString& LLTexLayerSet::getBodyRegion (  )  [inline]

Definition at line 280 of file lltexlayer.h.

References LLTexLayerSetInfo::mBodyRegion, and mInfo.

Referenced by LLTexLayerSetBuffer::readBackAndUpload(), and LLTexLayerSetBuffer::render().

Here is the caller graph for this function:

BOOL LLTexLayerSet::hasComposite (  )  [inline]

Definition at line 281 of file lltexlayer.h.

References mComposite, and NULL.

Referenced by LLViewerJointMesh::drawShape().

Here is the caller graph for this function:

void LLTexLayerSet::setBump ( BOOL  b  )  [inline]

Definition at line 282 of file lltexlayer.h.

References mHasBump.

Referenced by LLTexLayer::setInfo().

Here is the caller graph for this function:

BOOL LLTexLayerSet::hasBump (  )  [inline]

Definition at line 283 of file lltexlayer.h.

References mHasBump.


Member Data Documentation

BOOL LLTexLayerSet::sHasCaches = FALSE [static]

Definition at line 286 of file lltexlayer.h.

Referenced by LLVOAvatar::deleteCachedImages(), and LLTexLayerParamAlpha::render().

Definition at line 294 of file lltexlayer.h.

Referenced by getUpdatesEnabled(), requestUpdate(), and setUpdatesEnabled().

Definition at line 295 of file lltexlayer.h.

Referenced by createComposite(), hasBump(), and setBump().

Definition at line 297 of file lltexlayer.h.

Referenced by createComposite(), getBodyRegion(), getInfo(), isBodyRegion(), and setInfo().


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

Generated on Fri May 16 09:11:42 2008 for SecondLife by  doxygen 1.5.5