1 /*---------------------------------------------------------------------------*\
5 * Copyright (C) 2000-2002 by the OpenSG Forum *
9 * contact: dirk@opensg.org, gerrit.voss@vossg.org, jbehr@zgdv.de *
11 \*---------------------------------------------------------------------------*/
12 /*---------------------------------------------------------------------------*\
15 * This library is free software; you can redistribute it and/or modify it *
16 * under the terms of the GNU Library General Public License as published *
17 * by the Free Software Foundation, version 2. *
19 * This library is distributed in the hope that it will be useful, but *
20 * WITHOUT ANY WARRANTY; without even the implied warranty of *
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
22 * Library General Public License for more details. *
24 * You should have received a copy of the GNU Library General Public *
25 * License along with this library; if not, write to the Free Software *
26 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. *
28 \*---------------------------------------------------------------------------*/
29 /*---------------------------------------------------------------------------*\
37 \*---------------------------------------------------------------------------*/
39 #ifndef _OSGSHADERVARIABLES_H_
40 #define _OSGSHADERVARIABLES_H_
45 #include "OSGShaderVariableBool.h"
46 #include "OSGShaderVariableInt.h"
47 #include "OSGShaderVariableUInt.h"
48 #include "OSGShaderVariableReal.h"
50 #include "OSGShaderVariableVec2f.h"
51 #include "OSGShaderVariableVec3f.h"
52 #include "OSGShaderVariableVec4f.h"
54 #include "OSGShaderVariablePnt2f.h"
55 #include "OSGShaderVariablePnt3f.h"
57 #include "OSGShaderVariableMatrix.h"
59 #include "OSGShaderVariableMInt.h"
60 #include "OSGShaderVariableMUInt.h"
61 #include "OSGShaderVariableMReal.h"
63 #include "OSGShaderVariableMVec2f.h"
64 #include "OSGShaderVariableMVec3f.h"
65 #include "OSGShaderVariableMVec4f.h"
67 #include "OSGShaderVariableMMatrix.h"
69 #include "OSGShaderVariableOSG.h"
71 #include "OSGShaderVariableUniformBlock.h"
72 #include "OSGShaderVariableShaderStorageBlock.h"
74 #include "OSGGLFuncProtos.h"
75 #include "OSGShaderProgram.h"
80 void osgUniformShaderVariableSwitch (DrawEnv
*pEnv
,
86 void osgUniformShaderVariableLocation(DrawEnv
*pEnv
,
91 void osgUniformShaderVariableBool (DrawEnv
*pEnv
,
97 void osgUniformShaderVariableInt (DrawEnv
*pEnv
,
103 void osgUniformShaderVariableUInt (DrawEnv
*pEnv
,
104 ShaderVariable
*pVar
,
109 void osgUniformShaderVariableReal (DrawEnv
*pEnv
,
110 ShaderVariable
*pVar
,
115 void osgUniformShaderVariableVec2f (DrawEnv
*pEnv
,
116 ShaderVariable
*pVar
,
121 void osgUniformShaderVariableVec3f (DrawEnv
*pEnv
,
122 ShaderVariable
*pVar
,
127 void osgUniformShaderVariableVec4f (DrawEnv
*pEnv
,
128 ShaderVariable
*pVar
,
133 void osgUniformShaderVariablePnt2f (DrawEnv
*pEnv
,
134 ShaderVariable
*pVar
,
139 void osgUniformShaderVariablePnt3f (DrawEnv
*pEnv
,
140 ShaderVariable
*pVar
,
145 void osgUniformShaderVariableMatrix (DrawEnv
*pEnv
,
146 ShaderVariable
*pVar
,
151 void osgUniformShaderVariableMInt (DrawEnv
*pEnv
,
152 ShaderVariable
*pVar
,
157 void osgUniformShaderVariableMUInt (DrawEnv
*pEnv
,
158 ShaderVariable
*pVar
,
163 void osgUniformShaderVariableMReal (DrawEnv
*pEnv
,
164 ShaderVariable
*pVar
,
169 void osgUniformShaderVariableMVec2f (DrawEnv
*pEnv
,
170 ShaderVariable
*pVar
,
175 void osgUniformShaderVariableMVec3f (DrawEnv
*pEnv
,
176 ShaderVariable
*pVar
,
181 void osgUniformShaderVariableMVec4f (DrawEnv
*pEnv
,
182 ShaderVariable
*pVar
,
187 void osgUniformShaderVariableMMatrix (DrawEnv
*pEnv
,
188 ShaderVariable
*pVar
,
193 void osgUniformShaderUniformBlockLocation
195 ShaderVariable
*pVar
,
199 void osgUniformShaderUniformBlockBinding
201 ShaderVariable
*pVar
,
206 void osgUniformShaderStorageBlockLocation
208 ShaderVariable
*pVar
,
212 void osgUniformShaderStorageBlockBinding
214 ShaderVariable
*pVar
,
221 #include "OSGShaderVariables.inl"
223 #endif // _OSGSHADERVARIABLES_H_