29 #ifndef __GLSLGpuProgram_H__ 30 #define __GLSLGpuProgram_H__ 66 void bindProgram(
void);
68 void unbindProgram(
void);
76 {
return mProgramID; }
89 void loadFromSource(
void);
91 void unloadImpl(
void);
100 #endif // __GLSLGpuProgram_H__ static GLuint mVertexShaderCount
Keep track of the number of vertex shaders created.
GLSLProgram * getGLSLProgram(void) const
Get the GLSLProgram for the shader object.
Specialisation of HighLevelGpuProgram to provide support for OpenGL Shader Language (GLSL)...
static GLuint mFragmentShaderCount
Keep track of the number of fragment shaders created.
Generalised low-level GL program, can be applied to multiple types (eg ARB and NV) ...
VertexElementSemantic
Vertex element semantics, used to identify the meaning of vertex buffer contents. ...
GLSL low level compiled shader object - this class is used to get at the linked program object and pr...
This source file is part of OGRE (Object-oriented Graphics Rendering Engine) For the latest info...
GLSLProgram * mGLSLProgram
GL Handle for the shader object.
static GLuint mGeometryShaderCount
keep track of the number of geometry shaders created
GLuint getProgramID(void) const
Get the assigned GL program id.