llglslshader.h File Reference

GLSL shader wrappers. More...

#include "llgl.h"

Include dependency graph for llglslshader.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  LLGLSLShader
class  LLScatterShader
class  LLShaderMgr

Variables

GLhandleARB gLightVertex
GLhandleARB gLightFragment
GLhandleARB gScatterVertex
GLhandleARB gScatterFragment
LLVector4 gShinyOrigin
LLGLSLShader gObjectSimpleProgram
LLGLSLShader gObjectAlphaProgram
LLGLSLShader gObjectBumpProgram
LLGLSLShader gObjectShinyProgram
LLGLSLShader gTerrainProgram
LLGLSLShader gGlowProgram
LLGLSLShader gGroundProgram
LLGLSLShader gWaterProgram
LLGLSLShader gHighlightProgram
GLhandleARB gAvatarSkinVertex
LLGLSLShader gAvatarProgram
LLGLSLShader gAvatarEyeballProgram
LLGLSLShader gAvatarPickProgram
GLint gAvatarMatrixParam
GLint gMaterialIndex
GLint gSpecularIndex


Detailed Description

GLSL shader wrappers.

LicenseInfo
firstyear=2001&license=viewergpl

Copyright (c) 2001-2007, Linden Research, Inc.

Second Life Viewer Source Code The source code in this file ("Source Code") is provided by Linden Lab to you under the terms of the GNU General Public License, version 2.0 ("GPL"), unless you have obtained a separate licensing agreement ("Other License"), formally executed by you and Linden Lab. Terms of the GPL can be found in doc/GPL-license.txt in this distribution, or online at http://secondlife.com/developers/opensource/gplv2

There are special exceptions to the terms and conditions of the GPL as it is applied to this Source Code. View the full text of the exception in the file doc/FLOSS-exception.txt in this software distribution, or online at http://secondlife.com/developers/opensource/flossexception

By copying, modifying or distributing this software, you acknowledge that you have read and understood your obligations described above, and agree to abide by those obligations.

ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, COMPLETENESS OR PERFORMANCE. $/LicenseInfo$

Definition in file llglslshader.h.


Variable Documentation

LLGLSLShader gAvatarEyeballProgram

Definition at line 69 of file llglslshader.cpp.

Referenced by LLShaderMgr::loadShadersAvatar(), and LLShaderMgr::unloadShaders().

GLint gAvatarMatrixParam

Definition at line 73 of file llglslshader.cpp.

Referenced by LLDrawPoolAvatar::renderAvatars(), LLDrawPoolAvatar::renderForSelect(), and LLViewerJointMesh::uploadJointMatrices().

LLGLSLShader gAvatarPickProgram

Definition at line 70 of file llglslshader.cpp.

Referenced by LLShaderMgr::loadShadersAvatar(), LLDrawPoolAvatar::renderForSelect(), and LLShaderMgr::unloadShaders().

LLGLSLShader gAvatarProgram

Definition at line 68 of file llglslshader.cpp.

Referenced by LLDrawPoolAvatar::beginSkinned(), LLShaderMgr::loadShadersAvatar(), and LLShaderMgr::unloadShaders().

GLhandleARB gAvatarSkinVertex

Definition at line 65 of file llglslshader.cpp.

Referenced by LLShaderMgr::loadShadersAvatar().

LLGLSLShader gGlowProgram

Definition at line 57 of file llglslshader.cpp.

Referenced by LLShaderMgr::loadShadersEnvironment(), LLPipeline::renderBloom(), and LLShaderMgr::unloadShaders().

LLGLSLShader gGroundProgram

Definition at line 58 of file llglslshader.cpp.

Referenced by LLShaderMgr::loadShadersEnvironment(), and LLShaderMgr::unloadShaders().

LLGLSLShader gHighlightProgram

Definition at line 62 of file llglslshader.cpp.

Referenced by LLShaderMgr::loadShadersInterface(), LLDrawPoolTerrain::render(), LLPipeline::renderHighlights(), and LLShaderMgr::unloadShaders().

GLhandleARB gLightFragment

Definition at line 43 of file llglslshader.cpp.

Referenced by LLShaderMgr::loadShadersAvatar(), LLShaderMgr::loadShadersEnvironment(), LLShaderMgr::loadShadersLighting(), LLShaderMgr::loadShadersObject(), and LLShaderMgr::unloadShaders().

GLhandleARB gLightVertex

Definition at line 42 of file llglslshader.cpp.

Referenced by LLShaderMgr::loadShadersAvatar(), LLShaderMgr::loadShadersEnvironment(), LLShaderMgr::loadShadersLighting(), LLShaderMgr::loadShadersObject(), and LLShaderMgr::unloadShaders().

GLint gMaterialIndex

Definition at line 74 of file llglslshader.cpp.

Referenced by LLDrawPoolAvatar::beginSkinned(), LLGLSLShader::bind(), and LLViewerJointMesh::drawShape().

LLGLSLShader gObjectAlphaProgram

Definition at line 51 of file llglslshader.cpp.

Referenced by LLShaderMgr::loadShadersObject(), and LLShaderMgr::unloadShaders().

LLGLSLShader gObjectBumpProgram

Definition at line 52 of file llglslshader.cpp.

Referenced by LLShaderMgr::loadShadersObject(), and LLShaderMgr::unloadShaders().

LLGLSLShader gObjectShinyProgram

Definition at line 53 of file llglslshader.cpp.

Referenced by LLDrawPoolBump::beginShiny(), LLDrawPoolBump::endShiny(), LLShaderMgr::loadShadersObject(), and LLShaderMgr::unloadShaders().

LLGLSLShader gObjectSimpleProgram

Definition at line 50 of file llglslshader.cpp.

Referenced by LLDrawPoolTree::getMaterialAttribIndex(), LLShaderMgr::loadShadersObject(), and LLShaderMgr::unloadShaders().

GLhandleARB gScatterFragment

Definition at line 45 of file llglslshader.cpp.

Referenced by LLShaderMgr::loadShadersAvatar(), LLShaderMgr::loadShadersEnvironment(), LLShaderMgr::loadShadersLighting(), LLShaderMgr::loadShadersObject(), and LLShaderMgr::unloadShaders().

GLhandleARB gScatterVertex

Definition at line 44 of file llglslshader.cpp.

Referenced by LLShaderMgr::loadShadersAvatar(), LLShaderMgr::loadShadersEnvironment(), LLShaderMgr::loadShadersLighting(), LLShaderMgr::loadShadersObject(), and LLShaderMgr::unloadShaders().

LLVector4 gShinyOrigin

Definition at line 47 of file llglslshader.cpp.

Referenced by LLDrawPoolBump::beginShiny(), and LLPipeline::generateReflectionMap().

GLint gSpecularIndex

Definition at line 75 of file llglslshader.cpp.

Referenced by LLDrawPoolAvatar::beginSkinned(), and LLViewerJointMesh::drawShape().

LLGLSLShader gTerrainProgram

Definition at line 56 of file llglslshader.cpp.

Referenced by LLDrawPoolTerrain::getMaterialAttribIndex(), LLShaderMgr::loadShadersEnvironment(), LLDrawPoolTerrain::render(), LLDrawPoolTerrain::renderFull4TUShader(), and LLShaderMgr::unloadShaders().

LLGLSLShader gWaterProgram

Definition at line 59 of file llglslshader.cpp.

Referenced by LLShaderMgr::loadShadersEnvironment(), LLDrawPoolWater::renderShaderSimple(), LLDrawPoolWater::shade(), and LLShaderMgr::unloadShaders().


Generated on Thu Jul 1 06:10:16 2010 for Second Life Viewer by  doxygen 1.4.7