#include <OgreGLSLLinkProgram.h>
Public Member Functions | |
GLSLLinkProgram (void) | |
constructor should only be used by GLSLLinkProgramManager | |
~GLSLLinkProgram (void) | |
void | activate (void) |
Makes a program object active by making sure it is linked and then putting it in use. | |
void | updateUniforms (GpuProgramParametersSharedPtr params) |
updates program object uniforms using data from GpuProgramParamters. | |
void | updatePassIterationUniforms (GpuProgramParametersSharedPtr params) |
updates program object uniforms using data from pass iteration GpuProgramParamters. | |
GLhandleARB | getGLHandle (void) const |
get the GL Handle for the program object | |
void | setSkeletalAnimationIncluded (bool included) |
Sets whether the linked program includes the required instructions to perform skeletal animation. | |
bool | isSkeletalAnimationIncluded (void) const |
Returns whether the linked program includes the required instructions to perform skeletal animation. | |
Private Types | |
typedef std::vector< UniformReference > | UniformReferenceList |
typedef UniformReferenceList::iterator | UniformReferenceIterator |
Private Member Functions | |
void | buildUniformReferences (void) |
build uniform references from active named uniforms | |
Private Attributes | |
UniformReferenceList | mUniformReferences |
container of uniform references that are active in the program object | |
bool | mUniformRefsBuilt |
flag to indicate that uniform references have already been built | |
GLhandleARB | mGLHandle |
GL handle for the program object. | |
GLint | mLinked |
flag indicating that the program object has been successfully linked | |
bool | mSkeletalAnimation |
flag indicating skeletal animation is being performed |
Definition at line 37 of file OgreGLSLLinkProgram.h.
|
Definition at line 52 of file OgreGLSLLinkProgram.h. |
|
Definition at line 51 of file OgreGLSLLinkProgram.h. |
|
constructor should only be used by GLSLLinkProgramManager
|
|
|
|
Makes a program object active by making sure it is linked and then putting it in use.
|
|
build uniform references from active named uniforms
|
|
get the GL Handle for the program object
Definition at line 86 of file OgreGLSLLinkProgram.h. References mGLHandle. |
|
Returns whether the linked program includes the required instructions to perform skeletal animation.
Definition at line 102 of file OgreGLSLLinkProgram.h. |
|
Sets whether the linked program includes the required instructions to perform skeletal animation.
Definition at line 93 of file OgreGLSLLinkProgram.h. |
|
updates program object uniforms using data from pass iteration GpuProgramParamters. normally called by GLSLGpuProgram::bindMultiPassParameters() just before multi pass rendering occurs. |
|
updates program object uniforms using data from GpuProgramParamters. normally called by GLSLGpuProgram::bindParameters() just before rendering occurs. |
|
GL handle for the program object.
Definition at line 59 of file OgreGLSLLinkProgram.h. Referenced by getGLHandle(). |
|
flag indicating that the program object has been successfully linked
Definition at line 61 of file OgreGLSLLinkProgram.h. |
|
flag indicating skeletal animation is being performed
Definition at line 63 of file OgreGLSLLinkProgram.h. |
|
container of uniform references that are active in the program object
Definition at line 54 of file OgreGLSLLinkProgram.h. |
|
flag to indicate that uniform references have already been built
Definition at line 57 of file OgreGLSLLinkProgram.h. |
Copyright © 2000-2005 by The OGRE Team
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Mar 12 14:54:15 2006