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()
Ogre::GLSLESProgramPipeline::GLSLESProgramPipeline |
( |
const GLShaderList & |
shaders | ) |
|
|
explicit |
Constructor should only be used by GLSLESProgramPipelineManager.
◆ ~GLSLESProgramPipeline()
virtual Ogre::GLSLESProgramPipeline::~GLSLESProgramPipeline |
( |
| ) |
|
|
virtual |
◆ updateUniforms()
◆ 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.
◆ notifyOnContextLost()
virtual void Ogre::GLSLESProgramPipeline::notifyOnContextLost |
( |
| ) |
|
|
virtual |
◆ getMicrocodeFromCache()
static bool Ogre::GLSLESProgramCommon::getMicrocodeFromCache |
( |
uint32 |
id, |
|
|
GLuint |
programHandle |
|
) |
| |
|
staticinherited |
Get the the binary data of a program from the microcode cache.
◆ _writeToCache()
static void Ogre::GLSLESProgramCommon::_writeToCache |
( |
uint32 |
id, |
|
|
GLuint |
programHandle |
|
) |
| |
|
staticinherited |
◆ bindFixedAttributes()
static void Ogre::GLSLESProgramCommon::bindFixedAttributes |
( |
GLuint |
program | ) |
|
|
staticinherited |
◆ extractLayoutQualifiers()
void Ogre::GLSLProgramCommon::extractLayoutQualifiers |
( |
void |
| ) |
|
|
inherited |
◆ getGLProgramHandle()
uint Ogre::GLSLProgramCommon::getGLProgramHandle |
( |
void |
| ) |
const |
|
inlineinherited |
Get the GL Handle for the program object.
◆ isUsingShader()
◆ 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: