29 #ifndef __GLSLGpuProgram_H__
30 #define __GLSLGpuProgram_H__
78 void bindProgram(
void);
80 void unbindProgram(
void);
103 void loadFromSource(
void);
105 void unloadImpl(
void);
111 #endif // __GLSLGpuProgram_H__
static GLuint mDomainShaderCount
Keep track of the number of tesselation domain(evaluation) shaders created.
GLint mLinked
Flag indicating that the program object has been successfully linked.
Specialisation of HighLevelGpuProgram to provide support for OpenGL Shader Language (GLSL)...
GLSLProgram * getGLSLProgram(void) const
Get the GLSLProgram for the shader object.
Generalised low-level GL program, can be applied to multiple types (eg ARB and NV) ...
#define _OgreGL3PlusExport
GLSL low level compiled shader object - this class is used to get at the linked program object and pr...
static GLuint mComputeShaderCount
Keep track of the number of compute shaders created.
static GLuint mFragmentShaderCount
Keep track of the number of fragment shaders created.
static GLuint mGeometryShaderCount
Keep track of the number of geometry shaders created.
static GLuint mVertexShaderCount
Keep track of the number of vertex shaders created.
void setLinked(GLint flag)
Set the programs link status Only used when programs are linked separately with GL_ARB_separate_shade...
static GLuint mHullShaderCount
Keep track of the number of tesselation hull(control) shaders created.
GLint isLinked(void)
Return the programs link status Only used when programs are linked separately with GL_ARB_separate_sh...
GLSLProgram * mGLSLProgram
GL Handle for the shader object.