#include <lltextureentry.h>
Definition at line 67 of file lltextureentry.h.
typedef enum LLTextureEntry::e_texgen LLTextureEntry::eTexGen |
Definition at line 71 of file lltextureentry.h.
anonymous enum |
LLTextureEntry::LLTextureEntry | ( | ) |
Definition at line 42 of file lltextureentry.cpp.
References DEFAULT_BUMP_CODE, init(), and LLUUID::null.
LLTextureEntry::LLTextureEntry | ( | const LLUUID & | tex_id | ) |
Definition at line 47 of file lltextureentry.cpp.
References DEFAULT_BUMP_CODE, and init().
LLTextureEntry::LLTextureEntry | ( | const LLTextureEntry & | rhs | ) |
LLTextureEntry::~LLTextureEntry | ( | ) |
Definition at line 101 of file lltextureentry.cpp.
LLTextureEntry & LLTextureEntry::operator= | ( | const LLTextureEntry & | rhs | ) |
bool LLTextureEntry::operator== | ( | const LLTextureEntry & | rhs | ) | const |
bool LLTextureEntry::operator!= | ( | const LLTextureEntry & | rhs | ) | const |
LLSD LLTextureEntry::asLLSD | ( | ) | const |
Definition at line 135 of file lltextureentry.cpp.
References getBumpShiny(), getColor(), getFullbright(), getGlow(), getID(), getMediaTexGen(), getRotation(), ll_sd_from_color4(), mOffsetS, mOffsetT, mScaleS, mScaleT, and tut::sd().
Referenced by operator LLSD().
LLTextureEntry::operator LLSD | ( | ) | const [inline] |
Definition at line 90 of file lltextureentry.h.
References asLLSD().
bool LLTextureEntry::fromLLSD | ( | LLSD & | sd | ) |
Definition at line 154 of file lltextureentry.cpp.
References LLSD::has(), ll_color4_from_sd(), setBumpShiny(), setColor(), setFullbright(), setGlow(), setID(), setMediaTexGen(), setOffset(), setRotation(), and setScale().
void LLTextureEntry::init | ( | const LLUUID & | tex_id, | |
F32 | scale_s, | |||
F32 | scale_t, | |||
F32 | offset_s, | |||
F32 | offset_t, | |||
F32 | rotation, | |||
U8 | bump | |||
) |
Definition at line 85 of file lltextureentry.cpp.
References mBump, mGlow, mMediaFlags, mOffsetS, mOffsetT, mRotation, mScaleS, mScaleT, setColor(), and setID().
Referenced by LLTextureEntry().
Definition at line 210 of file lltextureentry.cpp.
References mID, and TEM_CHANGE_TEXTURE.
Referenced by fromLLSD(), init(), LLPrimitive::setAllTETextures(), and LLPrimitive::setTETexture().
Definition at line 235 of file lltextureentry.cpp.
References mColor, and TEM_CHANGE_COLOR.
Referenced by fromLLSD(), init(), and LLPrimitive::setTEColor().
Definition at line 245 of file lltextureentry.cpp.
References mColor, LLColor4::setVec(), and TEM_CHANGE_COLOR.
Definition at line 256 of file lltextureentry.cpp.
References mColor, LLColor4::mV, TEM_CHANGE_COLOR, and VW.
Referenced by LLPrimitive::setTEAlpha().
Definition at line 220 of file lltextureentry.cpp.
References mScaleS, mScaleT, S32, and TEM_CHANGE_TEXTURE.
Referenced by fromLLSD(), LLPrimitive::setTEScale(), LLPrimitive::setTEScaleS(), and LLPrimitive::setTEScaleT().
Definition at line 266 of file lltextureentry.cpp.
References mOffsetS, mOffsetT, S32, and TEM_CHANGE_TEXTURE.
Referenced by fromLLSD(), LLPrimitive::setTEOffset(), LLPrimitive::setTEOffsetS(), and LLPrimitive::setTEOffsetT().
Definition at line 281 of file lltextureentry.cpp.
References mRotation, and TEM_CHANGE_TEXTURE.
Referenced by fromLLSD(), and LLPrimitive::setTERotation().
Definition at line 311 of file lltextureentry.cpp.
References getBumpmap(), mBump, TEM_BUMP_MASK, and TEM_CHANGE_TEXTURE.
Referenced by LLPrimitive::setTEBumpmap().
Definition at line 323 of file lltextureentry.cpp.
References getFullbright(), mBump, TEM_CHANGE_TEXTURE, TEM_FULLBRIGHT_MASK, and TEM_FULLBRIGHT_SHIFT.
Referenced by fromLLSD(), and LLPrimitive::setTEFullbright().
Definition at line 335 of file lltextureentry.cpp.
References getShiny(), mBump, TEM_CHANGE_TEXTURE, TEM_SHINY_MASK, and TEM_SHINY_SHIFT.
Referenced by LLPrimitive::setTEShiny().
Definition at line 347 of file lltextureentry.cpp.
References getBumpShiny(), mBump, TEM_BUMP_SHINY_MASK, and TEM_CHANGE_TEXTURE.
Referenced by fromLLSD(), and LLPrimitive::setTEBumpShiny().
Definition at line 291 of file lltextureentry.cpp.
References mBump, and TEM_CHANGE_TEXTURE.
Referenced by LLPrimitive::setTEBumpShinyFullbright().
Definition at line 359 of file lltextureentry.cpp.
References getMediaFlags(), mMediaFlags, TEM_CHANGE_TEXTURE, and TEM_MEDIA_MASK.
Referenced by LLPrimitive::setTEMediaFlags().
Definition at line 371 of file lltextureentry.cpp.
References getTexGen(), mMediaFlags, TEM_CHANGE_TEXTURE, and TEM_TEX_GEN_MASK.
Referenced by LLPrimitive::setTETexGen().
Definition at line 301 of file lltextureentry.cpp.
References mMediaFlags, and TEM_CHANGE_TEXTURE.
Referenced by fromLLSD(), and LLPrimitive::setTEMediaTexGen().
Definition at line 383 of file lltextureentry.cpp.
References mGlow, and TEM_CHANGE_TEXTURE.
Referenced by fromLLSD(), and LLPrimitive::setTEGlow().
const LLUUID& LLTextureEntry::getID | ( | ) | const [inline] |
Definition at line 115 of file lltextureentry.h.
References mID.
Referenced by LLPanelFaceSetMediaFunctor::apply(), asLLSD(), LLPrimitive::copyTEs(), LLVOTextBubble::createDrawable(), LLPanelEditWearable::draw(), LLFloaterAvatarTextures::onClickDump(), LLFloaterTexturePicker::onTextureSelect(), LLViewerObject::setTE(), and update_texture_ctrl().
const LLColor4& LLTextureEntry::getColor | ( | ) | const [inline] |
Definition at line 116 of file lltextureentry.h.
References mColor.
Referenced by asLLSD(), LLPrimitive::copyTEs(), LLFace::getGeometryVolume(), LLPipeline::getPoolTypeFromTE(), LLFace::getRenderColor(), LLFloaterColorPicker::onColorSelect(), LLVolumeGeometryManager::rebuildGeom(), LLFace::renderForSelect(), LLSelectNode::saveColors(), and LLViewerObject::setTEColor().
Definition at line 117 of file lltextureentry.h.
References mScaleS, and mScaleT.
Referenced by LLVOVolume::animateTextures(), LLPrimitive::copyTEs(), LLFace::getGeometryVolume(), LLSelectNode::saveTextureScaleRatios(), LLPrimitive::setTEScaleS(), and LLPrimitive::setTEScaleT().
Definition at line 118 of file lltextureentry.h.
References mOffsetS, and mOffsetT.
Referenced by LLVOVolume::animateTextures(), LLPrimitive::copyTEs(), LLPrimitive::setTEOffsetS(), and LLPrimitive::setTEOffsetT().
F32 LLTextureEntry::getRotation | ( | ) | const [inline] |
Definition at line 119 of file lltextureentry.h.
References mRotation.
Referenced by LLVOVolume::animateTextures(), asLLSD(), LLPrimitive::copyTEs(), and LLFace::getGeometryVolume().
void LLTextureEntry::getRotation | ( | F32 * | theta | ) | const [inline] |
U8 LLTextureEntry::getBumpmap | ( | ) | const [inline] |
Definition at line 122 of file lltextureentry.h.
References mBump, and TEM_BUMP_MASK.
Referenced by calc_shame(), LLFace::getGeometryVolume(), LLPipeline::getPoolTypeFromTE(), LLVolumeGeometryManager::rebuildGeom(), LLVolumeGeometryManager::registerFace(), setBumpmap(), and LLViewerObject::setTEBumpmap().
U8 LLTextureEntry::getFullbright | ( | ) | const [inline] |
Definition at line 123 of file lltextureentry.h.
References mBump, TEM_FULLBRIGHT_MASK, and TEM_FULLBRIGHT_SHIFT.
Referenced by asLLSD(), setFullbright(), LLViewerObject::setTEFullbright(), and LLVOVolume::updateFaceFlags().
U8 LLTextureEntry::getShiny | ( | ) | const [inline] |
Definition at line 124 of file lltextureentry.h.
References mBump, TEM_SHINY_MASK, and TEM_SHINY_SHIFT.
Referenced by calc_shame(), LLFace::getGeometryVolume(), LLPipeline::getPoolTypeFromTE(), LLVolumeGeometryManager::rebuildGeom(), setShiny(), and LLViewerObject::setTEShiny().
U8 LLTextureEntry::getBumpShiny | ( | ) | const [inline] |
Definition at line 125 of file lltextureentry.h.
References mBump, and TEM_BUMP_SHINY_MASK.
Referenced by asLLSD(), and setBumpShiny().
U8 LLTextureEntry::getBumpShinyFullbright | ( | ) | const [inline] |
Definition at line 126 of file lltextureentry.h.
References mBump.
Referenced by LLPrimitive::copyTEs(), LLFace::CompareBatchBreaker::operator()(), and LLPrimitive::packTEMessage().
U8 LLTextureEntry::getMediaFlags | ( | ) | const [inline] |
Definition at line 128 of file lltextureentry.h.
References mMediaFlags, and TEM_MEDIA_MASK.
Referenced by setMediaFlags(), and LLViewerObject::setTEMediaFlags().
U8 LLTextureEntry::getTexGen | ( | ) | const [inline] |
Definition at line 129 of file lltextureentry.h.
References mMediaFlags, and TEM_TEX_GEN_MASK.
Referenced by LLSelectMgr::adjustTexturesByScale(), calc_shame(), LLFace::getGeometryVolume(), LLSelectNode::saveTextureScaleRatios(), LLViewerObject::setTETexGen(), and setTexGen().
U8 LLTextureEntry::getMediaTexGen | ( | ) | const [inline] |
Definition at line 130 of file lltextureentry.h.
References mMediaFlags.
Referenced by asLLSD(), LLPrimitive::copyTEs(), and LLPrimitive::packTEMessage().
F32 LLTextureEntry::getGlow | ( | ) | const [inline] |
Definition at line 131 of file lltextureentry.h.
References mGlow.
Referenced by asLLSD(), calc_shame(), LLPrimitive::copyTEs(), LLFace::CompareBatchBreaker::operator()(), LLPrimitive::packTEMessage(), LLVolumeGeometryManager::rebuildGeom(), LLVolumeGeometryManager::registerFace(), and LLViewerObject::setTEGlow().
Definition at line 137 of file lltextureentry.h.
Referenced by asLLSD(), LLFace::getGeometryVolume(), getScale(), init(), LLTextureEntry(), operator!=(), operator=(), operator==(), LLPrimitive::packTEMessage(), setScale(), LLVOTextBubble::updateTextures(), and LLVOAvatar::updateTextures().
Definition at line 138 of file lltextureentry.h.
Referenced by asLLSD(), LLFace::getGeometryVolume(), getScale(), init(), LLTextureEntry(), operator!=(), operator=(), operator==(), LLPrimitive::packTEMessage(), setScale(), LLVOTextBubble::updateTextures(), and LLVOAvatar::updateTextures().
Definition at line 139 of file lltextureentry.h.
Referenced by asLLSD(), LLFace::getGeometryVolume(), getOffset(), init(), LLTextureEntry(), operator!=(), operator=(), operator==(), LLPrimitive::packTEMessage(), and setOffset().
Definition at line 140 of file lltextureentry.h.
Referenced by asLLSD(), LLFace::getGeometryVolume(), getOffset(), init(), LLTextureEntry(), operator!=(), operator=(), operator==(), LLPrimitive::packTEMessage(), and setOffset().
Definition at line 141 of file lltextureentry.h.
Referenced by getRotation(), init(), LLTextureEntry(), operator!=(), operator=(), operator==(), LLPrimitive::packTEMessage(), and setRotation().
const LLTextureEntry LLTextureEntry::null [static] |
Definition at line 143 of file lltextureentry.h.
LLUUID LLTextureEntry::mID [protected] |
Definition at line 145 of file lltextureentry.h.
Referenced by getID(), LLTextureEntry(), operator!=(), operator=(), operator==(), and setID().
LLColor4 LLTextureEntry::mColor [protected] |
Definition at line 146 of file lltextureentry.h.
Referenced by getColor(), LLTextureEntry(), operator!=(), operator=(), operator==(), setAlpha(), and setColor().
U8 LLTextureEntry::mBump [protected] |
Definition at line 147 of file lltextureentry.h.
Referenced by getBumpmap(), getBumpShiny(), getBumpShinyFullbright(), getFullbright(), getShiny(), init(), LLTextureEntry(), operator!=(), operator=(), operator==(), setBumpmap(), setBumpShiny(), setBumpShinyFullbright(), setFullbright(), and setShiny().
U8 LLTextureEntry::mMediaFlags [protected] |
Definition at line 148 of file lltextureentry.h.
Referenced by getMediaFlags(), getMediaTexGen(), getTexGen(), init(), LLTextureEntry(), operator!=(), operator=(), operator==(), setMediaFlags(), setMediaTexGen(), and setTexGen().
F32 LLTextureEntry::mGlow [protected] |
Definition at line 149 of file lltextureentry.h.
Referenced by getGlow(), init(), LLTextureEntry(), operator!=(), operator=(), operator==(), and setGlow().