#include <lltextureentry.h>
Collaboration diagram for LLTextureEntry:
Definition at line 67 of file lltextureentry.h.
typedef enum LLTextureEntry::e_texgen LLTextureEntry::eTexGen |
anonymous enum |
Definition at line 71 of file lltextureentry.h.
LLTextureEntry::LLTextureEntry | ( | ) |
Definition at line 42 of file lltextureentry.cpp.
References DEFAULT_BUMP_CODE, f, init(), and LLUUID::null.
LLTextureEntry::LLTextureEntry | ( | const LLUUID & | tex_id | ) |
LLTextureEntry::LLTextureEntry | ( | const LLTextureEntry & | rhs | ) |
LLTextureEntry::~LLTextureEntry | ( | ) |
Definition at line 101 of file lltextureentry.cpp.
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().
bool LLTextureEntry::fromLLSD | ( | LLSD & | sd | ) |
Definition at line 154 of file lltextureentry.cpp.
References ll_color4_from_sd(), tut::sd(), setBumpShiny(), setColor(), setFullbright(), setGlow(), setID(), setMediaTexGen(), setOffset(), setRotation(), setScale(), and x.
U8 LLTextureEntry::getBumpmap | ( | ) | const [inline] |
Definition at line 122 of file lltextureentry.h.
References mBump, and TEM_BUMP_MASK.
Referenced by LLFace::getGeometryVolume(), LLPipeline::getPoolTypeFromTE(), LLPanelFace::getState(), LLVolumeGeometryManager::rebuildGeom(), LLVolumeGeometryManager::registerFace(), setBumpmap(), and LLViewerObject::setTEBumpmap().
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::packTEMessage().
const LLColor4& LLTextureEntry::getColor | ( | ) | const [inline] |
Definition at line 116 of file lltextureentry.h.
References mColor.
Referenced by asLLSD(), LLFace::getGeometryVolume(), LLPipeline::getPoolTypeFromTE(), LLFace::getRenderColor(), LLFloaterColorPicker::onColorSelect(), LLSelectMgr::selectionSetAlphaOnly(), LLSelectMgr::selectionSetColorOnly(), LLViewerObject::setTEColor(), and LLVOVolume::writeCAL3D().
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(), LLPanelFace::getState(), setFullbright(), LLViewerObject::setTEFullbright(), and LLVOVolume::updateFaceFlags().
F32 LLTextureEntry::getGlow | ( | ) | const [inline] |
Definition at line 131 of file lltextureentry.h.
References mGlow.
Referenced by asLLSD(), and LLPrimitive::packTEMessage().
const LLUUID& LLTextureEntry::getID | ( | ) | const [inline] |
Definition at line 115 of file lltextureentry.h.
References mID.
Referenced by LLPanelFaceSetMediaFunctor::apply(), asLLSD(), LLVOTextBubble::createDrawable(), LLPanelEditWearable::draw(), LLFloaterTexturePicker::onTextureSelect(), LLViewerObject::setTE(), update_texture_ctrl(), and LLVOVolume::writeCAL3D().
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::getMediaTexGen | ( | ) | const [inline] |
Definition at line 130 of file lltextureentry.h.
References mMediaFlags.
Referenced by asLLSD(), and LLPrimitive::packTEMessage().
Definition at line 118 of file lltextureentry.h.
References mOffsetS, and mOffsetT.
Referenced by LLVOVolume::animateTextures(), LLPrimitive::setTEOffsetS(), and LLPrimitive::setTEOffsetT().
F32 LLTextureEntry::getRotation | ( | ) | const [inline] |
Definition at line 119 of file lltextureentry.h.
References mRotation.
Referenced by LLVOVolume::animateTextures(), and asLLSD().
Definition at line 117 of file lltextureentry.h.
References mScaleS, and mScaleT.
Referenced by LLVOVolume::animateTextures(), LLFace::getGeometryVolume(), LLSelectNode::saveTextureScaleRatios(), LLPrimitive::setTEScaleS(), and LLPrimitive::setTEScaleT().
U8 LLTextureEntry::getShiny | ( | ) | const [inline] |
Definition at line 124 of file lltextureentry.h.
References mBump, TEM_SHINY_MASK, and TEM_SHINY_SHIFT.
Referenced by LLFace::getGeometryVolume(), LLPipeline::getPoolTypeFromTE(), LLPanelFace::getState(), LLVolumeGeometryManager::rebuildGeom(), setShiny(), and LLViewerObject::setTEShiny().
U8 LLTextureEntry::getTexGen | ( | ) | const [inline] |
Definition at line 129 of file lltextureentry.h.
References mMediaFlags, and TEM_TEX_GEN_MASK.
Referenced by LLFace::getGeometryVolume(), LLPanelFace::getState(), LLSelectNode::saveTextureScaleRatios(), LLViewerObject::setTETexGen(), and setTexGen().
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 f, mBump, mGlow, mMediaFlags, mOffsetS, mOffsetT, mRotation, mScaleS, mScaleT, setColor(), and setID().
Referenced by LLTextureEntry().
LLTextureEntry::operator LLSD | ( | ) | const [inline] |
bool LLTextureEntry::operator!= | ( | const LLTextureEntry & | rhs | ) | const |
LLTextureEntry & LLTextureEntry::operator= | ( | const LLTextureEntry & | rhs | ) |
bool LLTextureEntry::operator== | ( | const LLTextureEntry & | rhs | ) | const |
Definition at line 256 of file lltextureentry.cpp.
References mColor, LLColor4::mV, TEM_CHANGE_COLOR, and VW.
Referenced by LLPrimitive::setTEAlpha().
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 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 245 of file lltextureentry.cpp.
References mColor, LLColor4::setVec(), and TEM_CHANGE_COLOR.
Definition at line 235 of file lltextureentry.cpp.
References mColor, and TEM_CHANGE_COLOR.
Referenced by fromLLSD(), init(), and LLPrimitive::setTEColor().
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 383 of file lltextureentry.cpp.
References mGlow, and TEM_CHANGE_TEXTURE.
Referenced by fromLLSD(), and LLPrimitive::setTEGlow().
Definition at line 210 of file lltextureentry.cpp.
References mID, and TEM_CHANGE_TEXTURE.
Referenced by fromLLSD(), init(), and LLPrimitive::setTETexture().
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 301 of file lltextureentry.cpp.
References mMediaFlags, and TEM_CHANGE_TEXTURE.
Referenced by fromLLSD(), and LLPrimitive::setTEMediaTexGen().
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 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 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 371 of file lltextureentry.cpp.
References getTexGen(), mMediaFlags, TEM_CHANGE_TEXTURE, and TEM_TEX_GEN_MASK.
Referenced by LLPrimitive::setTETexGen().
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().
LLColor4 LLTextureEntry::mColor [protected] |
Definition at line 146 of file lltextureentry.h.
Referenced by getColor(), LLTextureEntry(), operator!=(), operator=(), operator==(), setAlpha(), and setColor().
F32 LLTextureEntry::mGlow [protected] |
Definition at line 149 of file lltextureentry.h.
Referenced by getGlow(), init(), LLTextureEntry(), operator!=(), operator=(), operator==(), and setGlow().
LLUUID LLTextureEntry::mID [protected] |
Definition at line 145 of file lltextureentry.h.
Referenced by getID(), LLTextureEntry(), operator!=(), operator=(), operator==(), and setID().
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().
Definition at line 139 of file lltextureentry.h.
Referenced by asLLSD(), getOffset(), LLPanelFace::getState(), init(), LLTextureEntry(), operator!=(), operator=(), operator==(), LLPrimitive::packTEMessage(), and setOffset().
Definition at line 140 of file lltextureentry.h.
Referenced by asLLSD(), getOffset(), LLPanelFace::getState(), init(), LLTextureEntry(), operator!=(), operator=(), operator==(), LLPrimitive::packTEMessage(), and setOffset().
Definition at line 141 of file lltextureentry.h.
Referenced by getRotation(), LLPanelFace::getState(), init(), LLTextureEntry(), operator!=(), operator=(), operator==(), LLPrimitive::packTEMessage(), and setRotation().
Definition at line 137 of file lltextureentry.h.
Referenced by asLLSD(), getScale(), LLPanelFace::getState(), init(), LLTextureEntry(), operator!=(), operator=(), operator==(), LLPrimitive::packTEMessage(), setScale(), and LLVOAvatar::updateTextures().
Definition at line 138 of file lltextureentry.h.
Referenced by asLLSD(), getScale(), LLPanelFace::getState(), init(), LLTextureEntry(), operator!=(), operator=(), operator==(), LLPrimitive::packTEMessage(), setScale(), and LLVOAvatar::updateTextures().
const LLTextureEntry LLTextureEntry::null [static] |
Definition at line 143 of file lltextureentry.h.