28 #ifndef __GLSLLinkProgram_H__
29 #define __GLSLLinkProgram_H__
79 void buildGLUniformReferences(
void);
81 void extractAttributes(
void);
93 :name(_name), attrib(_attrib) {}
100 void compileAndLink();
102 void getMicrocodeFromCache();
130 { mSkeletalAnimation = included; }
149 #endif // __GLSLLinkProgram_H__
GLhandleARB mGLHandle
GL handle for the program object.
GpuProgramType
Enumerates the types of programs which can run on the GPU.
bool isSkeletalAnimationIncluded(void) const
Returns whether the linked program includes the required instructions to perform skeletal animation...
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...
bool mSkeletalAnimation
Flag indicating skeletal animation is being performed.
GLUniformReferenceList mGLUniformReferences
Container of uniform references that are active in the program object.
GLSLGpuProgram * mVertexProgram
Linked vertex program.
GLSLGpuProgram * mGeometryProgram
Linked geometry program.
C++ encapsulation of GLSL Program Object.
void setSkeletalAnimationIncluded(bool included)
Sets whether the linked program includes the required instructions to perform skeletal animation...
GLhandleARB getGLHandle(void) const
Get the GL Handle for the program object.
AttributeSet mValidAttributes
Custom attribute bindings.
set< GLuint >::type AttributeSet
GLUniformReferenceList::iterator GLUniformReferenceIterator
GLint mLinked
Flag indicating that the program object has been successfully linked.
bool mUniformRefsBuilt
Flag to indicate that uniform references have already been built.
vector< GLUniformReference >::type GLUniformReferenceList
bool mTriedToLinkAndFailed
Flag indicating that the program object has tried to link and failed.
GLSLGpuProgram * mFragmentProgram
Linked fragment program.
Information about predefined program constants.
CustomAttribute(const String &_name, GLuint _attrib)