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()
◆ updateUniformBlocks()
◆ updatePassIterationUniforms()
Updates program pipeline object uniforms using data from pass iteration GpuProgramParameters.
normally called by GLSLESGpuProgram::bindMultiPassParameters() just before multi pass rendering occurs.
Implements Ogre::GLSLProgramCommon.
◆ activate()
void Ogre::GLSLESProgramPipeline::activate |
( |
void |
| ) |
|
|
virtual |
Makes a program pipeline object active by making sure it is linked and then putting it in use.
Implements Ogre::GLSLProgramCommon.
◆ 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 |
|
inlinevirtualinherited |
◆ extractLayoutQualifiers()
void Ogre::GLSLProgramCommon::extractLayoutQualifiers |
( |
void |
| ) |
|
|
inherited |
◆ setSkeletalAnimationIncluded()
void Ogre::GLSLProgramCommon::setSkeletalAnimationIncluded |
( |
bool |
included | ) |
|
|
inlineinherited |
Sets whether the linked program includes the required instructions to perform skeletal animation.
◆ isSkeletalAnimationIncluded()
bool Ogre::GLSLProgramCommon::isSkeletalAnimationIncluded |
( |
void |
| ) |
const |
|
inlineinherited |
Returns whether the linked program includes the required instructions to perform skeletal animation.
◆ getGLProgramHandle()
uint Ogre::GLSLProgramCommon::getGLProgramHandle |
( |
void |
| ) |
const |
|
inlineinherited |
◆ getFixedAttributeIndex()
Get the fixed attribute bindings normally used by GL for a semantic.
◆ useTightAttributeLayout()
static void Ogre::GLSLProgramCommon::useTightAttributeLayout |
( |
| ) |
|
|
staticinherited |
use alternate vertex attribute layout using only 8 vertex attributes
For "Vivante GC1000" and "VideoCore IV" (notably in Raspberry Pi) on GLES2
The documentation for this class was generated from the following file: