![]() |
OGRE 14.2
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. | |
| ~GLSLLinkProgram (void) | |
| void | activate (void) override |
| Makes a program object active by making sure it is linked and then putting it in use. | |
| uint | getGLHandle (void) const |
| Get the GL Handle for the program object. | |
| bool | isAttributeValid (VertexElementSemantic semantic, uint index) |
| void | updateUniforms (GpuProgramParametersSharedPtr params, uint16 mask, GpuProgramType fromProgType) override |
| Updates program object uniforms using data from GpuProgramParameters. | |
Public Member Functions inherited from Ogre::GLSLProgramCommon | |
| GLSLProgramCommon (const GLShaderList &shaders) | |
| virtual | ~GLSLProgramCommon () |
| uint | getGLProgramHandle (void) const |
| Get the GL Handle for the program object. | |
| bool | isUsingShader (GLSLShaderCommon *shader) const |
| query if the program is using the given shader | |
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. | |
| static void | useTightAttributeLayout () |
| use alternate vertex attribute layout using only 8 vertex attributes | |
C++ encapsulation of GLSL Program Object.
|
explicit |
Constructor should only be used by GLSLLinkProgramManager.
| Ogre::GLSL::GLSLLinkProgram::~GLSLLinkProgram | ( | void | ) |
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.
Get the GL Handle for the program object.