#include <lltexlayer.h>
Definition at line 375 of file lltexlayer.h.
typedef std::list< LLTexLayerParamAlpha* > LLTexLayerParamAlpha::param_alpha_ptr_list_t |
Definition at line 423 of file lltexlayer.h.
LLTexLayerParamAlpha::LLTexLayerParamAlpha | ( | LLTexLayer * | layer | ) |
LLTexLayerParamAlpha::~LLTexLayerParamAlpha | ( | ) |
Definition at line 1853 of file lltexlayer.cpp.
References deleteCaches(), and sInstances.
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().
BOOL LLTexLayerParamAlpha::setInfo | ( | LLTexLayerParamAlphaInfo * | info | ) |
Definition at line 1862 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.
Referenced by LLTexLayer::setInfo().
void LLTexLayerParamAlpha::apply | ( | ESex | avatar_sex | ) | [inline, virtual] |
*virtual*/ BOOL parseData(LLXmlTreeNode* node);
Implements LLVisualParam.
Definition at line 388 of file lltexlayer.h.
Reimplemented from LLVisualParam.
Definition at line 1886 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().
Reimplemented from LLVisualParam.
Definition at line 1910 of file lltexlayer.cpp.
References LLVisualParam::mIsAnimating, LLVisualParam::mNext, LLVisualParam::mTargetWeight, LLVisualParam::setAnimationTarget(), setWeight(), and TRUE.
Reimplemented from LLVisualParam.
Definition at line 1921 of file lltexlayer.cpp.
References LLVisualParam::animate(), and LLVisualParam::mNext.
F32 LLTexLayerParamAlpha::getTotalDistortion | ( | ) | [inline, virtual] |
*virtual*/ BOOL parseData(LLXmlTreeNode* node);
Implements LLViewerVisualParam.
Definition at line 394 of file lltexlayer.h.
const LLVector3& LLTexLayerParamAlpha::getAvgDistortion | ( | ) | [inline, virtual] |
Implements LLViewerVisualParam.
Definition at line 395 of file lltexlayer.h.
References mAvgDistortionVec.
F32 LLTexLayerParamAlpha::getMaxDistortion | ( | ) | [inline, virtual] |
LLVector3 LLTexLayerParamAlpha::getVertexDistortion | ( | S32 | index, | |
LLPolyMesh * | poly_mesh | |||
) | [inline, virtual] |
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.
const LLVector3* LLTexLayerParamAlpha::getNextDistortion | ( | U32 * | index, | |
LLPolyMesh ** | poly_mesh | |||
) | [inline, virtual] |
Definition at line 1952 of file lltexlayer.cpp.
References LLGLImmediate::blendFunc(), LLGLImmediate::color4f(), FALSE, LLGLImmediate::flush(), LLTexLayerSet::getAvatar(), LLVisualParam::getDefaultWeight(), LLTexStaticImageList::getImageTGA(), getInfo(), LLVisualParam::getSex(), LLCharacter::getSex(), getSkip(), LLTexLayer::getTexLayerSet(), gGL, gGLManager, gl_rect_2d_simple(), gl_rect_2d_simple_tex(), 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.
Referenced by LLTexLayer::renderAlphaMasks().
BOOL LLTexLayerParamAlpha::getSkip | ( | ) |
Definition at line 1929 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, and WT_INVALID.
Referenced by render(), and LLTexLayer::render().
void LLTexLayerParamAlpha::deleteCaches | ( | ) |
Definition at line 1878 of file lltexlayer.cpp.
References FALSE, mCachedProcessedImageGL, mNeedsCreateTexture, mStaticImageRaw, mStaticImageTGA, and NULL.
Referenced by LLTexLayer::deleteCaches(), and ~LLTexLayerParamAlpha().
LLTexLayer* LLTexLayerParamAlpha::getTexLayer | ( | ) | [inline] |
BOOL LLTexLayerParamAlpha::getMultiplyBlend | ( | ) | [inline] |
Definition at line 406 of file lltexlayer.h.
References getInfo(), and LLTexLayerParamAlphaInfo::mMultiplyBlend.
Referenced by LLTexLayer::renderAlphaMasks().
void LLTexLayerParamAlpha::dumpCacheByteCount | ( | ) | [static] |
Definition at line 1812 of file lltexlayer.cpp.
References getCacheByteCount(), llendl, llinfos, and S32.
Referenced by output_statistics().
void LLTexLayerParamAlpha::getCacheByteCount | ( | S32 * | gl_bytes | ) | [static] |
Definition at line 1820 of file lltexlayer.cpp.
References LLImageGL::getComponents(), LLImageGL::getHasGLTexture(), LLImageGL::getHeight(), LLImageGL::getWidth(), mCachedProcessedImageGL, S32, and sInstances.
Referenced by dumpCacheByteCount().
Definition at line 409 of file lltexlayer.h.
Referenced by deleteCaches(), getCacheByteCount(), and render().
LLTexLayer* LLTexLayerParamAlpha::mTexLayer [protected] |
Definition at line 410 of file lltexlayer.h.
Referenced by getSkip(), getTexLayer(), render(), setInfo(), and setWeight().
LLPointer<LLImageTGA> LLTexLayerParamAlpha::mStaticImageTGA [protected] |
LLPointer<LLImageRaw> LLTexLayerParamAlpha::mStaticImageRaw [protected] |
BOOL LLTexLayerParamAlpha::mNeedsCreateTexture [protected] |
BOOL LLTexLayerParamAlpha::mStaticImageInvalid [protected] |
LLVector3 LLTexLayerParamAlpha::mAvgDistortionVec [protected] |
Definition at line 415 of file lltexlayer.h.
Referenced by getAvgDistortion(), and getFirstDistortion().
F32 LLTexLayerParamAlpha::mCachedEffectiveWeight [protected] |
Definition at line 424 of file lltexlayer.h.
Referenced by getCacheByteCount(), LLTexLayerParamAlpha(), and ~LLTexLayerParamAlpha().