aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llrender/llglslshader.h
diff options
context:
space:
mode:
authorJacek Antonelli2009-04-30 13:04:20 -0500
committerJacek Antonelli2009-04-30 13:07:16 -0500
commitca8149ca6d157eb4b5fc8ba0e5ba3a6e56f72e7e (patch)
tree8348301d0ac44a524f1819b777686bf086907d76 /linden/indra/llrender/llglslshader.h
parentSecond Life viewer sources 1.22.11 (diff)
downloadmeta-impy-ca8149ca6d157eb4b5fc8ba0e5ba3a6e56f72e7e.zip
meta-impy-ca8149ca6d157eb4b5fc8ba0e5ba3a6e56f72e7e.tar.gz
meta-impy-ca8149ca6d157eb4b5fc8ba0e5ba3a6e56f72e7e.tar.bz2
meta-impy-ca8149ca6d157eb4b5fc8ba0e5ba3a6e56f72e7e.tar.xz
Second Life viewer sources 1.23.0-RC
Diffstat (limited to 'linden/indra/llrender/llglslshader.h')
-rw-r--r--linden/indra/llrender/llglslshader.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/linden/indra/llrender/llglslshader.h b/linden/indra/llrender/llglslshader.h
index 66c53df..166d4af 100644
--- a/linden/indra/llrender/llglslshader.h
+++ b/linden/indra/llrender/llglslshader.h
@@ -17,7 +17,8 @@
17 * There are special exceptions to the terms and conditions of the GPL as 17 * There are special exceptions to the terms and conditions of the GPL as
18 * it is applied to this Source Code. View the full text of the exception 18 * it is applied to this Source Code. View the full text of the exception
19 * in the file doc/FLOSS-exception.txt in this software distribution, or 19 * in the file doc/FLOSS-exception.txt in this software distribution, or
20 * online at http://secondlifegrid.net/programs/open_source/licensing/flossexception 20 * online at
21 * http://secondlifegrid.net/programs/open_source/licensing/flossexception
21 * 22 *
22 * By copying, modifying or distributing this software, you acknowledge 23 * By copying, modifying or distributing this software, you acknowledge
23 * that you have read and understood your obligations described above, 24 * that you have read and understood your obligations described above,
@@ -77,18 +78,22 @@ public:
77 BOOL mapAttributes(const std::vector<std::string> * attributes); 78 BOOL mapAttributes(const std::vector<std::string> * attributes);
78 BOOL mapUniforms(const std::vector<std::string> * uniforms); 79 BOOL mapUniforms(const std::vector<std::string> * uniforms);
79 void mapUniform(GLint index, const std::vector<std::string> * uniforms); 80 void mapUniform(GLint index, const std::vector<std::string> * uniforms);
81 void uniform1i(U32 index, GLint i);
80 void uniform1f(U32 index, GLfloat v); 82 void uniform1f(U32 index, GLfloat v);
81 void uniform2f(U32 index, GLfloat x, GLfloat y); 83 void uniform2f(U32 index, GLfloat x, GLfloat y);
82 void uniform3f(U32 index, GLfloat x, GLfloat y, GLfloat z); 84 void uniform3f(U32 index, GLfloat x, GLfloat y, GLfloat z);
83 void uniform4f(U32 index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 85 void uniform4f(U32 index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
86 void uniform1iv(U32 index, U32 count, const GLint* i);
84 void uniform1fv(U32 index, U32 count, const GLfloat* v); 87 void uniform1fv(U32 index, U32 count, const GLfloat* v);
85 void uniform2fv(U32 index, U32 count, const GLfloat* v); 88 void uniform2fv(U32 index, U32 count, const GLfloat* v);
86 void uniform3fv(U32 index, U32 count, const GLfloat* v); 89 void uniform3fv(U32 index, U32 count, const GLfloat* v);
87 void uniform4fv(U32 index, U32 count, const GLfloat* v); 90 void uniform4fv(U32 index, U32 count, const GLfloat* v);
91 void uniform1i(const std::string& uniform, GLint i);
88 void uniform1f(const std::string& uniform, GLfloat v); 92 void uniform1f(const std::string& uniform, GLfloat v);
89 void uniform2f(const std::string& uniform, GLfloat x, GLfloat y); 93 void uniform2f(const std::string& uniform, GLfloat x, GLfloat y);
90 void uniform3f(const std::string& uniform, GLfloat x, GLfloat y, GLfloat z); 94 void uniform3f(const std::string& uniform, GLfloat x, GLfloat y, GLfloat z);
91 void uniform4f(const std::string& uniform, GLfloat x, GLfloat y, GLfloat z, GLfloat w); 95 void uniform4f(const std::string& uniform, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
96 void uniform1iv(const std::string& uniform, U32 count, const GLint* i);
92 void uniform1fv(const std::string& uniform, U32 count, const GLfloat* v); 97 void uniform1fv(const std::string& uniform, U32 count, const GLfloat* v);
93 void uniform2fv(const std::string& uniform, U32 count, const GLfloat* v); 98 void uniform2fv(const std::string& uniform, U32 count, const GLfloat* v);
94 void uniform3fv(const std::string& uniform, U32 count, const GLfloat* v); 99 void uniform3fv(const std::string& uniform, U32 count, const GLfloat* v);