Go to the documentation of this file.
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 mHullShaderCount
Keep track of the number of tesselation hull(control) shaders created.
static GLuint mVertexShaderCount
Keep track of the number of vertex shaders created.
GLint isLinked(void)
Return the programs link status Only used when programs are linked separately with GL_ARB_separate_sh...
void setLinked(GLint flag)
Set the programs link status Only used when programs are linked separately with GL_ARB_separate_shade...
GLSLProgram * mGLSLProgram
GL Handle for the shader object.
GLSLProgram * getGLSLProgram(void) const
Get the GLSLProgram for the shader object.
static GLuint mGeometryShaderCount
Keep track of the number of geometry shaders created.
static GLuint mDomainShaderCount
Keep track of the number of tesselation domain(evaluation) shaders created.
static GLuint mFragmentShaderCount
Keep track of the number of fragment shaders created.
#define _OgreGL3PlusExport
GLSL low level compiled shader object - this class is used to get at the linked program object and pr...
Specialisation of HighLevelGpuProgram to provide support for OpenGL Shader Language (GLSL).
GLint mLinked
Flag indicating that the program object has been successfully linked.
Generalised low-level GL program, can be applied to multiple types (eg ARB and NV)
static GLuint mComputeShaderCount
Keep track of the number of compute shaders created.
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