#include <lltexlayer.h>
Inheritance diagram for LLTexLayerParamAlpha:
Definition at line 375 of file lltexlayer.h.
Definition at line 423 of file lltexlayer.h.
LLTexLayerParamAlpha::LLTexLayerParamAlpha | ( | LLTexLayer * | layer | ) |
LLTexLayerParamAlpha::~LLTexLayerParamAlpha | ( | ) |
Reimplemented from LLVisualParam.
Definition at line 1958 of file lltexlayer.cpp.
References LLVisualParam::animate(), and LLVisualParam::mNext.
*virtual*/ BOOL parseData(LLXmlTreeNode* node);
Implements LLVisualParam.
Definition at line 388 of file lltexlayer.h.
void LLTexLayerParamAlpha::deleteCaches | ( | ) |
Definition at line 1915 of file lltexlayer.cpp.
References FALSE, mCachedProcessedImageGL, mNeedsCreateTexture, mStaticImageRaw, mStaticImageTGA, and NULL.
Referenced by ~LLTexLayerParamAlpha().
void LLTexLayerParamAlpha::dumpCacheByteCount | ( | ) | [static] |
Definition at line 1849 of file lltexlayer.cpp.
References getCacheByteCount(), llendl, llinfos, and S32.
Referenced by output_statistics().
const LLVector3& LLTexLayerParamAlpha::getAvgDistortion | ( | ) | [inline, virtual] |
Implements LLViewerVisualParam.
Definition at line 395 of file lltexlayer.h.
References mAvgDistortionVec.
Definition at line 1857 of file lltexlayer.cpp.
References LLImageGL::getComponents(), LLImageGL::getHasGLTexture(), LLImageGL::getHeight(), LLImageGL::getWidth(), S32, and sInstances.
Referenced by dumpCacheByteCount().
const LLVector3* LLTexLayerParamAlpha::getFirstDistortion | ( | U32 * | index, | |
LLPolyMesh ** | poly_mesh | |||
) | [inline, virtual] |
Implements LLViewerVisualParam.
Definition at line 398 of file lltexlayer.h.
References mAvgDistortionVec, and NULL.
LLTexLayerParamAlphaInfo* LLTexLayerParamAlpha::getInfo | ( | ) | const [inline] |
Reimplemented from LLViewerVisualParam.
Definition at line 382 of file lltexlayer.h.
References LLVisualParam::mInfo.
Referenced by getMultiplyBlend(), getSkip(), and render().
F32 LLTexLayerParamAlpha::getMaxDistortion | ( | ) | [inline, virtual] |
BOOL LLTexLayerParamAlpha::getMultiplyBlend | ( | ) | [inline] |
Definition at line 406 of file lltexlayer.h.
References getInfo(), and LLTexLayerParamAlphaInfo::mMultiplyBlend.
Referenced by LLTexLayer::renderAlphaMasks().
const LLVector3* LLTexLayerParamAlpha::getNextDistortion | ( | U32 * | index, | |
LLPolyMesh ** | poly_mesh | |||
) | [inline, virtual] |
BOOL LLTexLayerParamAlpha::getSkip | ( | ) |
Definition at line 1966 of file lltexlayer.cpp.
References FALSE, LLTexLayerSet::getAvatar(), LLVisualParam::getDefaultWeight(), getInfo(), LLVisualParam::getSex(), LLCharacter::getSex(), LLTexLayer::getTexLayerSet(), LLViewerVisualParam::getWearableType(), is_approx_zero(), LLVOAvatar::isWearingWearableType(), LLVisualParam::mCurWeight, mTexLayer, TRUE, type, and WT_INVALID.
Referenced by render().
LLTexLayer* LLTexLayerParamAlpha::getTexLayer | ( | ) | [inline] |
F32 LLTexLayerParamAlpha::getTotalDistortion | ( | ) | [inline, virtual] |
*virtual*/ BOOL parseData(LLXmlTreeNode* node);
Implements LLViewerVisualParam.
Definition at line 394 of file lltexlayer.h.
LLVector3 LLTexLayerParamAlpha::getVertexDistortion | ( | S32 | index, | |
LLPolyMesh * | poly_mesh | |||
) | [inline, virtual] |
Definition at line 1989 of file lltexlayer.cpp.
References f, FALSE, LLTexLayerSet::getAvatar(), LLVisualParam::getDefaultWeight(), LLTexStaticImageList::getImageTGA(), getInfo(), LLVisualParam::getSex(), LLCharacter::getSex(), getSkip(), LLTexLayer::getTexLayerSet(), gGLManager, gGradientPaletteList, gl_rect_2d_simple(), gl_rect_2d_simple_tex(), glBlendFunc, glColor4f, gPipeline, gTexStaticImageList, LLPipeline::hasRenderDebugFeatureMask(), LLPointer< Type >::isNull(), llendl, llwarns, mCachedEffectiveWeight, mCachedProcessedImageGL, LLVisualParam::mCurWeight, LLGLManager::mHasPalettedTextures, LLVOAvatar::mIsSelf, mNeedsCreateTexture, LLTexLayerParamAlphaInfo::mStaticImageFileName, mStaticImageInvalid, mStaticImageRaw, mStaticImageTGA, mTexLayer, LLPointer< Type >::notNull(), NULL, LLPipeline::RENDER_DEBUG_FEATURE_PALETTE, S32, LLGradientPaletteList::setHardwarePalette(), LLTexLayerSet::sHasCaches, stop_glerror, and TRUE.
Reimplemented from LLVisualParam.
Definition at line 1947 of file lltexlayer.cpp.
References LLVisualParam::mIsAnimating, LLVisualParam::mNext, LLVisualParam::mTargetWeight, LLVisualParam::setAnimationTarget(), setWeight(), and TRUE.
BOOL LLTexLayerParamAlpha::setInfo | ( | LLTexLayerParamAlphaInfo * | info | ) |
Definition at line 1899 of file lltexlayer.cpp.
References LLCharacter::addVisualParam(), FALSE, LLTexLayerSet::getAvatar(), LLVisualParam::getDefaultWeight(), LLTexLayer::getTexLayerSet(), llassert, LLVisualParam::mID, LLVisualParamInfo::mID, LLVisualParam::mInfo, mTexLayer, NULL, setWeight(), and TRUE.
Reimplemented from LLVisualParam.
Definition at line 1923 of file lltexlayer.cpp.
References F32_to_U8(), LLTexLayerSet::getAvatar(), LLVisualParam::getMaxWeight(), LLVisualParam::getMinWeight(), LLVisualParam::getSex(), LLCharacter::getSex(), LLTexLayer::getTexLayerSet(), LLVOAvatar::invalidateComposite(), LLTexLayer::invalidateMorphMasks(), llclamp(), LLVisualParam::mCurWeight, LLVisualParam::mIsAnimating, and mTexLayer.
Referenced by setAnimationTarget(), and setInfo().
LLVector3 LLTexLayerParamAlpha::mAvgDistortionVec [protected] |
Definition at line 415 of file lltexlayer.h.
Referenced by getAvgDistortion(), and getFirstDistortion().
F32 LLTexLayerParamAlpha::mCachedEffectiveWeight [protected] |
BOOL LLTexLayerParamAlpha::mNeedsCreateTexture [protected] |
BOOL LLTexLayerParamAlpha::mStaticImageInvalid [protected] |
LLPointer<LLImageRaw> LLTexLayerParamAlpha::mStaticImageRaw [protected] |
LLPointer<LLImageTGA> LLTexLayerParamAlpha::mStaticImageTGA [protected] |
LLTexLayer* LLTexLayerParamAlpha::mTexLayer [protected] |
Definition at line 410 of file lltexlayer.h.
Referenced by getSkip(), getTexLayer(), render(), setInfo(), and setWeight().
Definition at line 424 of file lltexlayer.h.
Referenced by getCacheByteCount(), LLTexLayerParamAlpha(), LLTexLayerParamAlphaInfo::parseXml(), and ~LLTexLayerParamAlpha().