#include <lldrawpoolsky.h>
Inheritance diagram for LLDrawPoolSky:
Public Types | |
VERTEX_DATA_MASK | |
enum | { VERTEX_DATA_MASK } |
Public Member Functions | |
virtual U32 | getVertexDataMask () |
LLDrawPoolSky () | |
LLDrawPool * | instancePool () |
void | prerender () |
void | render (S32 pass=0) |
void | renderForSelect () |
void | setSkyTex (LLSkyTex *const st) |
void | setSun (LLHeavenBody *sun_flag) |
void | setMoon (LLHeavenBody *moon) |
void | renderSkyCubeFace (U8 side) |
void | renderHeavenlyBody (U8 hb, LLFace *face) |
void | renderSunHalo (LLFace *face) |
virtual S32 | getMaterialAttribIndex () |
Private Attributes | |
LLSkyTex * | mSkyTex |
LLHeavenBody * | mHB [2] |
Definition at line 40 of file lldrawpoolsky.h.
anonymous enum |
LLDrawPoolSky::LLDrawPoolSky | ( | ) |
virtual S32 LLDrawPoolSky::getMaterialAttribIndex | ( | ) | [inline, virtual] |
virtual U32 LLDrawPoolSky::getVertexDataMask | ( | ) | [inline, virtual] |
LLDrawPool * LLDrawPoolSky::instancePool | ( | ) | [virtual] |
void LLDrawPoolSky::prerender | ( | ) | [virtual] |
Implements LLDrawPool.
Definition at line 61 of file lldrawpoolsky.cpp.
References LLShaderMgr::getVertexShaderLevel(), LLDrawPool::mVertexShaderLevel, and LLShaderMgr::SHADER_ENVIRONMENT.
Implements LLDrawPool.
Definition at line 66 of file lldrawpoolsky.cpp.
References LLPipeline::disableLights(), LLVOSky::FACE_BLOOM, LLVOSky::FACE_MOON, LLVOSky::FACE_SUN, gAgent, gCamera, LLCoordFrame::getOrigin(), LLAgent::getRegion(), LLViewerRegion::getWaterHeight(), glPopMatrix, glTranslatef, gPipeline, gSky, i, LLVOSky::isSameFace(), llmin(), LLFacePool::mDrawFace, LLVector3::mV, LLSky::mVOSkyp, NULL, renderHeavenlyBody(), renderSkyCubeFace(), renderSunHalo(), S32, and VZ.
void LLDrawPoolSky::renderForSelect | ( | ) | [virtual] |
Definition at line 172 of file lldrawpoolsky.cpp.
References LLImageGL::bind(), face, mHB, and LLDrawPool::mIndicesDrawn.
Referenced by render().
Definition at line 149 of file lldrawpoolsky.cpp.
References LLSkyTex::bindTexture(), LLSkyTex::doInterpolate(), face, LLVOSky::FACE_SIDE0, FALSE, LLSkyTex::getInterpVal(), glColor4f, LLFacePool::mDrawFace, LLDrawPool::mIndicesDrawn, mSkyTex, and TRUE.
Referenced by render().
Definition at line 187 of file lldrawpoolsky.cpp.
References LLImageGL::bind(), f, face, llclamp(), mHB, LLDrawPool::mIndicesDrawn, and LLColor4::mV.
Referenced by render().
void LLDrawPoolSky::setMoon | ( | LLHeavenBody * | moon | ) | [inline] |
Definition at line 64 of file lldrawpoolsky.h.
References mHB.
Referenced by LLVOSky::createDrawable().
Definition at line 62 of file lldrawpoolsky.h.
References mSkyTex.
Referenced by LLVOSky::createDrawable().
void LLDrawPoolSky::setSun | ( | LLHeavenBody * | sun_flag | ) | [inline] |
Definition at line 63 of file lldrawpoolsky.h.
References mHB.
Referenced by LLVOSky::createDrawable().
LLHeavenBody* LLDrawPoolSky::mHB[2] [private] |
Definition at line 44 of file lldrawpoolsky.h.
Referenced by renderHeavenlyBody(), renderSunHalo(), setMoon(), and setSun().
LLSkyTex* LLDrawPoolSky::mSkyTex [private] |