Specialisation of HighLevelGpuProgram to provide support for OpenGL Shader Language (GLSL ES) for OpenGL ES 2.0.
More...
#include <OgreGLSLESProgramPipeline.h>
Specialisation of HighLevelGpuProgram to provide support for OpenGL Shader Language (GLSL ES) for OpenGL ES 2.0.
- Note
- GLSL ES supports multiple modular shader objects that can be attached to one program object to form a single shader. This is supported through the "attach" material script command. All the modules to be attached are listed on the same line as the attach command separated by white space.
◆ GLSLESProgramPipeline()
Constructor should only be used by GLSLESProgramPipelineManager.
◆ ~GLSLESProgramPipeline()
virtual Ogre::GLSLESProgramPipeline::~GLSLESProgramPipeline |
( |
| ) |
|
|
virtual |
◆ updateUniforms()
Updates program pipeline object uniforms using data from GpuProgramParameters.
normally called by GLSLESGpuProgram::bindParameters() just before rendering occurs.
◆ updateUniformBlocks()
Updates program object uniform blocks using data from GpuProgramParameters.
normally called by GLSLGpuProgram::bindParameters() just before rendering occurs.
◆ updatePassIterationUniforms()
Updates program pipeline object uniforms using data from pass iteration GpuProgramParameters.
normally called by GLSLESGpuProgram::bindMultiPassParameters() just before multi pass rendering occurs.
◆ activate()
void Ogre::GLSLESProgramPipeline::activate |
( |
void |
| ) |
|
Makes a program pipeline object active by making sure it is linked and then putting it in use.
◆ bindFixedAttributes()
void Ogre::GLSLESProgramCommon::bindFixedAttributes |
( |
GLuint |
program | ) |
|
|
inherited |
◆ getVertexProgram()
GLSLESProgram* Ogre::GLSLESProgramCommon::getVertexProgram |
( |
void |
| ) |
const |
|
inlineinherited |
◆ getFragmentProgram()
GLSLESProgram* Ogre::GLSLESProgramCommon::getFragmentProgram |
( |
void |
| ) |
const |
|
inlineinherited |
◆ isUsingShader()
bool Ogre::GLSLESProgramCommon::isUsingShader |
( |
GLSLShaderCommon * |
shader | ) |
const |
|
inlineinherited |
The documentation for this class was generated from the following file: