C++ encapsulation of GLSL Program Object.
More...
#include <OgreGLSLLinkProgram.h>
|
| GLSLLinkProgram (GLSLGpuProgram *vertexProgram, GLSLGpuProgram *geometryProgram, GLSLGpuProgram *fragmentProgram, GLSLGpuProgram *hullProgram, GLSLGpuProgram *domainProgram, GLSLGpuProgram *computeProgram) |
| Constructor should only be used by GLSLLinkProgramManager. More...
|
|
| ~GLSLLinkProgram (void) |
|
void | activate (void) |
| Makes a program object active by making sure it is linked and then putting it in use. More...
|
|
virtual void | extractLayoutQualifiers (void) |
| Finds layout qualifiers in the shader source and sets attribute indices appropriately. More...
|
|
virtual GLint | getAttributeIndex (VertexElementSemantic semantic, uint index) |
| Get the index of a non-standard attribute bound in the linked code. More...
|
|
GLSLGpuProgram * | getComputeProgram () const |
|
GLSLGpuProgram * | getDomainProgram () const |
|
GLSLGpuProgram * | getFragmentProgram () const |
|
GLSLGpuProgram * | getGeometryProgram () const |
|
GLuint | getGLProgramHandle (void) const |
| Get the GL Handle for the program object. More...
|
|
GLSLGpuProgram * | getHullProgram () const |
|
GL3PlusVertexArrayObject * | getVertexArrayObject () |
|
GLSLGpuProgram * | getVertexProgram () const |
|
bool | isAttributeValid (VertexElementSemantic semantic, uint index) |
| Is a non-standard attribute bound in the linked code? More...
|
|
bool | isSkeletalAnimationIncluded (void) const |
| Returns whether the linked program includes the required instructions to perform skeletal animation. More...
|
|
void | setSkeletalAnimationIncluded (bool included) |
| Sets whether the linked program includes the required instructions to perform skeletal animation. More...
|
|
virtual void | updatePassIterationUniforms (GpuProgramParametersSharedPtr params) |
| Updates program object uniforms using data from pass iteration GpuProgramParameters. More...
|
|
virtual void | updateUniformBlocks (GpuProgramParametersSharedPtr params, uint16 mask, GpuProgramType fromProgType) |
| Updates program object uniform blocks using data from GpuProgramParameters. More...
|
|
virtual void | updateUniforms (GpuProgramParametersSharedPtr params, uint16 mask, GpuProgramType fromProgType) |
| Updates program object uniforms using data from GpuProgramParameters. More...
|
|
C++ encapsulation of GLSL Program Object.
Definition at line 45 of file Plus/src/GLSL/include/OgreGLSLLinkProgram.h.
Ogre::GLSLLinkProgram::~GLSLLinkProgram |
( |
void |
| ) |
|
virtual void Ogre::GLSLLinkProgram::_useProgram |
( |
void |
| ) |
|
|
protectedvirtual |
void Ogre::GLSLLinkProgram::activate |
( |
void |
| ) |
|
|
virtual |
Makes a program object active by making sure it is linked and then putting it in use.
Implements Ogre::GLSLProgramCommon.
void Ogre::GLSLLinkProgram::buildGLUniformReferences |
( |
void |
| ) |
|
|
protected |
virtual void Ogre::GLSLLinkProgram::compileAndLink |
( |
void |
| ) |
|
|
protectedvirtual |
virtual void Ogre::GLSLProgramCommon::extractLayoutQualifiers |
( |
void |
| ) |
|
|
virtualinherited |
Finds layout qualifiers in the shader source and sets attribute indices appropriately.
Ogre::String Ogre::GLSLProgramCommon::getCombinedName |
( |
void |
| ) |
|
|
protectedinherited |
GLuint Ogre::GLSLProgramCommon::getGLProgramHandle |
( |
void |
| ) |
const |
|
inlineinherited |
void Ogre::GLSLProgramCommon::getMicrocodeFromCache |
( |
void |
| ) |
|
|
protectedinherited |
Get the the binary data of a program from the microcode cache.
Is a non-standard attribute bound in the linked code?
bool Ogre::GLSLProgramCommon::isSkeletalAnimationIncluded |
( |
void |
| ) |
const |
|
inlineinherited |
Returns whether the linked program includes the required instructions to perform skeletal animation.
Definition at line 160 of file OgreGLSLProgramCommon.h.
void Ogre::GLSLProgramCommon::setSkeletalAnimationIncluded |
( |
bool |
included | ) |
|
|
inlineinherited |
Sets whether the linked program includes the required instructions to perform skeletal animation.
Definition at line 152 of file OgreGLSLProgramCommon.h.
Updates program object uniforms using data from pass iteration GpuProgramParameters.
normally called by GLSLGpuProgram::bindMultiPassParameters() just before multi pass rendering occurs.
Implements Ogre::GLSLProgramCommon.
GLuint Ogre::GLSLProgramCommon::mGLProgramHandle |
|
protectedinherited |
Container of uniform buffer references that are active in the program object.
Definition at line 68 of file OgreGLSLProgramCommon.h.
Container of uniform references that are active in the program object.
Definition at line 65 of file OgreGLSLProgramCommon.h.
GLint Ogre::GLSLProgramCommon::mLinked |
|
protectedinherited |
Flag indicating that the program or pipeline object has been successfully linked.
Definition at line 90 of file OgreGLSLProgramCommon.h.
bool Ogre::GLSLProgramCommon::mSkeletalAnimation |
|
protectedinherited |
bool Ogre::GLSLProgramCommon::mTriedToLinkAndFailed |
|
protectedinherited |
Flag indicating that the program or pipeline object has tried to link and failed.
Definition at line 92 of file OgreGLSLProgramCommon.h.
bool Ogre::GLSLProgramCommon::mUniformRefsBuilt |
|
protectedinherited |
The documentation for this class was generated from the following file: