29 #ifndef __GLSLGpuProgram_H__
30 #define __GLSLGpuProgram_H__
67 void bindProgram(
void);
69 void unbindProgram(
void);
77 {
return mProgramID; }
91 void loadFromSource(
void);
93 void unloadImpl(
void);
104 #endif // __GLSLGpuProgram_H__
static GLuint mGeometryShaderCount
keep track of the number of geometry shaders created
GLSLProgram * getGLSLProgram(void) const
get the GLSLProgram for the shader object
Specialisation of HighLevelGpuProgram to provide support for OpenGL Shader Language (GLSL)...
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...
GLSLProgram * mGLSLProgram
GL Handle for the shader object.
static GLuint mFragmentShaderCount
keep track of the number of fragment shaders created
static GLuint mVertexShaderCount
keep track of the number of vertex shaders created
const GLuint getProgramID(void) const
Get the assigned GL program id.