Go to the documentation of this file.
28 #ifndef __GLSLLinkProgram_H__
29 #define __GLSLLinkProgram_H__
83 void buildGLUniformReferences(
void);
85 void extractAttributes(
void);
97 :name(_name), attrib(_attrib) {}
104 void compileAndLink();
106 void getMicrocodeFromCache();
134 { mSkeletalAnimation = included; }
154 #endif // __GLSLLinkProgram_H__
GLUniformCache * mUniformCache
GLint mLinked
Flag indicating that the program object has been successfully linked.
GLSLGpuProgram * mVertexProgram
Linked vertex program.
GLSLGpuProgram * mGeometryProgram
Linked geometry program.
GLSL low level compiled shader object - this class is used to get at the linked program object and pr...
void setSkeletalAnimationIncluded(bool included)
Sets whether the linked program includes the required instructions to perform skeletal animation.
bool mSkeletalAnimation
Flag indicating skeletal animation is being performed.
vector< GLUniformReference >::type GLUniformReferenceList
bool mUniformRefsBuilt
Flag to indicate that uniform references have already been built.
GpuProgramType
Enumerates the types of programs which can run on the GPU.
VertexElementSemantic
Vertex element semantics, used to identify the meaning of vertex buffer contents.
GLSLGpuProgram * mFragmentProgram
Linked fragment program.
GLhandleARB mGLHandle
GL handle for the program object.
bool isSkeletalAnimationIncluded(void) const
Returns whether the linked program includes the required instructions to perform skeletal animation.
GLUniformReferenceList mGLUniformReferences
Container of uniform references that are active in the program object.
bool mTriedToLinkAndFailed
Flag indicating that the program object has tried to link and failed.
GLUniformReferenceList::iterator GLUniformReferenceIterator
GLhandleARB getGLHandle(void) const
Get the GL Handle for the program object.
Information about predefined program constants.
CustomAttribute(const String &_name, GLuint _attrib)
C++ encapsulation of GLSL Program Object.
AttributeSet mValidAttributes
Custom attribute bindings.
set< GLuint >::type AttributeSet
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