Go to the documentation of this file.
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__
Generalised low-level GL program, can be applied to multiple types (eg ARB and NV)
static GLuint mFragmentShaderCount
Keep track of the number of fragment shaders created.
GLuint getProgramID(void) const
Get the assigned GL program id.
GLSLProgram * getGLSLProgram(void) const
Get the GLSLProgram for the shader object.
GLSL low level compiled shader object - this class is used to get at the linked program object and pr...
static GLuint mVertexShaderCount
Keep track of the number of vertex shaders created.
static GLuint mGeometryShaderCount
keep track of the number of geometry shaders created
VertexElementSemantic
Vertex element semantics, used to identify the meaning of vertex buffer contents.
GLSLProgram * mGLSLProgram
GL Handle for the shader object.
Specialisation of HighLevelGpuProgram to provide support for OpenGL Shader Language (GLSL).
Copyright © 2012 Torus Knot Software Ltd

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Tue Apr 13 2021 08:53:15