OGRE-Next
4.0.0unstable
Object-Oriented Graphics Rendering Engine
|
C++ encapsulation of GLSL ES Program Object. More...
#include <OgreGLSLESLinkProgram.h>
Public Member Functions | |
GLSLESLinkProgram (GLSLESShader *vertexProgram, GLSLESShader *fragmentProgram) | |
Constructor should only be used by GLSLESLinkProgramManager. More... | |
virtual | ~GLSLESLinkProgram () |
void | activate () |
Makes a program object active by making sure it is linked and then putting it in use. More... | |
void | updatePassIterationUniforms (GpuProgramParametersSharedPtr params) |
Updates program object uniforms using data from pass iteration GpuProgramParameters. More... | |
void | updateUniformBlocks (GpuProgramParametersSharedPtr params, uint16 mask, GpuProgramType fromProgType) |
Updates program object uniform blocks using data from GpuProgramParameters. More... | |
void | updateUniforms (GpuProgramParametersSharedPtr params, uint16 mask, GpuProgramType fromProgType) |
Updates program object uniforms using data from GpuProgramParameters. More... | |
C++ encapsulation of GLSL ES Program Object.
Ogre::GLSLESLinkProgram::GLSLESLinkProgram | ( | GLSLESShader * | vertexProgram, |
GLSLESShader * | fragmentProgram | ||
) |
Constructor should only be used by GLSLESLinkProgramManager.
|
virtual |
void Ogre::GLSLESLinkProgram::activate | ( | ) |
Makes a program object active by making sure it is linked and then putting it in use.
void Ogre::GLSLESLinkProgram::updatePassIterationUniforms | ( | GpuProgramParametersSharedPtr | params | ) |
Updates program object uniforms using data from pass iteration GpuProgramParameters.
normally called by GLSLESShader::bindMultiPassParameters() just before multi pass rendering occurs.
void Ogre::GLSLESLinkProgram::updateUniformBlocks | ( | GpuProgramParametersSharedPtr | params, |
uint16 | mask, | ||
GpuProgramType | fromProgType | ||
) |
Updates program object uniform blocks using data from GpuProgramParameters.
normally called by GLSLESShader::bindParameters() just before rendering occurs.
void Ogre::GLSLESLinkProgram::updateUniforms | ( | GpuProgramParametersSharedPtr | params, |
uint16 | mask, | ||
GpuProgramType | fromProgType | ||
) |
Updates program object uniforms using data from GpuProgramParameters.
normally called by GLSLESShader::bindParameters() just before rendering occurs.