C++ encapsulation of GLSL ES Program Object. More...
#include <OgreGLSLESLinkProgram.h>
Public Member Functions | |
| GLSLESLinkProgram (GLSLESGpuProgram *vertexProgram, GLSLESGpuProgram *fragmentProgram) | |
| Constructor should only be used by GLSLESLinkProgramManager. | |
| virtual | ~GLSLESLinkProgram (void) |
| void | activate (void) |
| Makes a program object active by making sure it is linked and then putting it in use. | |
| virtual void | updatePassIterationUniforms (GpuProgramParametersSharedPtr params) |
| Updates program object uniforms using data from pass iteration GpuProgramParameters. | |
| virtual void | updateUniformBlocks (GpuProgramParametersSharedPtr params, uint16 mask, GpuProgramType fromProgType) |
| Updates program object uniform blocks using data from GpuProgramParameters. | |
| virtual void | updateUniforms (GpuProgramParametersSharedPtr params, uint16 mask, GpuProgramType fromProgType) |
| Updates program object uniforms using data from GpuProgramParameters. | |
Protected Member Functions | |
| virtual void | _useProgram (void) |
| Put a program in use. | |
| void | buildGLUniformReferences (void) |
| virtual void | compileAndLink (void) |
| Compiles and links the vertex and fragment programs. | |
| virtual void | extractLayoutQualifiers (void) |
| virtual void | notifyOnContextLost () |
| See AndroidResource. | |
| virtual void | notifyOnContextReset () |
| See AndroidResource. | |
C++ encapsulation of GLSL ES Program Object.
Definition at line 45 of file OgreGLSLESLinkProgram.h.
| Ogre::GLSLESLinkProgram::GLSLESLinkProgram | ( | GLSLESGpuProgram * | vertexProgram, |
| GLSLESGpuProgram * | fragmentProgram | ||
| ) |
Constructor should only be used by GLSLESLinkProgramManager.
| virtual Ogre::GLSLESLinkProgram::~GLSLESLinkProgram | ( | void | ) | [virtual] |
| virtual void Ogre::GLSLESLinkProgram::_useProgram | ( | void | ) | [protected, virtual] |
Put a program in use.
| void Ogre::GLSLESLinkProgram::activate | ( | void | ) |
Makes a program object active by making sure it is linked and then putting it in use.
| void Ogre::GLSLESLinkProgram::buildGLUniformReferences | ( | void | ) | [protected] |
| virtual void Ogre::GLSLESLinkProgram::compileAndLink | ( | void | ) | [protected, virtual] |
Compiles and links the vertex and fragment programs.
| virtual void Ogre::GLSLESLinkProgram::extractLayoutQualifiers | ( | void | ) | [protected, virtual] |
Definition at line 48 of file OgreGLSLESLinkProgram.h.
| virtual void Ogre::GLSLESLinkProgram::notifyOnContextLost | ( | ) | [protected, virtual] |
See AndroidResource.
| virtual void Ogre::GLSLESLinkProgram::notifyOnContextReset | ( | ) | [protected, virtual] |
See AndroidResource.
| virtual void Ogre::GLSLESLinkProgram::updatePassIterationUniforms | ( | GpuProgramParametersSharedPtr | params | ) | [virtual] |
Updates program object uniforms using data from pass iteration GpuProgramParameters.
normally called by GLSLESGpuProgram::bindMultiPassParameters() just before multi pass rendering occurs.
| virtual void Ogre::GLSLESLinkProgram::updateUniformBlocks | ( | GpuProgramParametersSharedPtr | params, |
| uint16 | mask, | ||
| GpuProgramType | fromProgType | ||
| ) | [virtual] |
Updates program object uniform blocks using data from GpuProgramParameters.
normally called by GLSLGpuProgram::bindParameters() just before rendering occurs.
| virtual void Ogre::GLSLESLinkProgram::updateUniforms | ( | GpuProgramParametersSharedPtr | params, |
| uint16 | mask, | ||
| GpuProgramType | fromProgType | ||
| ) | [virtual] |
Updates program object uniforms using data from GpuProgramParameters.
normally called by GLSLESGpuProgram::bindParameters() just before rendering occurs.
Copyright © 2012 Torus Knot Software Ltd

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Mon Jul 27 2020 13:41:12