![]() |
OGRE 13.5
Object-Oriented Graphics Rendering Engine
|
C++ encapsulation of GLSL Program Object. More...
#include <OgreGLSLLinkProgram.h>
Inheritance diagram for Ogre::GLSL::GLSLLinkProgram:Public Member Functions | |
| GLSLLinkProgram (const GLShaderList &shaders) | |
| Constructor should only be used by GLSLLinkProgramManager. More... | |
| ~GLSLLinkProgram (void) | |
| void | activate (void) override |
| Makes a program object active by making sure it is linked and then putting it in use. More... | |
| uint | getGLHandle (void) const |
| Get the GL Handle for the program object. More... | |
| bool | isAttributeValid (VertexElementSemantic semantic, uint index) |
| void | updateUniforms (GpuProgramParametersSharedPtr params, uint16 mask, GpuProgramType fromProgType) override |
| Updates program object uniforms using data from GpuProgramParameters. More... | |
Public Member Functions inherited from Ogre::GLSLProgramCommon | |
| GLSLProgramCommon (const GLShaderList &shaders) | |
| virtual | ~GLSLProgramCommon () |
| virtual void | activate (void)=0 |
| Makes a program object active by making sure it is linked and then putting it in use. More... | |
| uint | getGLProgramHandle (void) const |
| Get the GL Handle for the program object. More... | |
| bool | isUsingShader (GLSLShaderCommon *shader) const |
| query if the program is using the given shader More... | |
| virtual void | updateUniforms (GpuProgramParametersPtr params, uint16 mask, GpuProgramType fromProgType)=0 |
| Updates program object uniforms using data from GpuProgramParameters. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from Ogre::GLSLProgramCommon | |
| static int32 | getFixedAttributeIndex (VertexElementSemantic semantic, uint index) |
| Get the fixed attribute bindings normally used by GL for a semantic. More... | |
| static void | useTightAttributeLayout () |
| use alternate vertex attribute layout using only 8 vertex attributes More... | |
C++ encapsulation of GLSL Program Object.
|
explicit |
Constructor should only be used by GLSLLinkProgramManager.
| Ogre::GLSL::GLSLLinkProgram::~GLSLLinkProgram | ( | void | ) |
|
overridevirtual |
Makes a program object active by making sure it is linked and then putting it in use.
Implements Ogre::GLSLProgramCommon.
| bool Ogre::GLSL::GLSLLinkProgram::isAttributeValid | ( | VertexElementSemantic | semantic, |
| uint | index | ||
| ) |
|
overridevirtual |
Updates program object uniforms using data from GpuProgramParameters.
normally called by GLSLGpuProgram::bindParameters() just before rendering occurs.
Implements Ogre::GLSLProgramCommon.
|
inline |
Get the GL Handle for the program object.