Specialisation of HighLevelGpuProgram to provide support for OpenGL Shader Language (GLSL ES) for OpenGL ES 2.0.
More...
#include <OgreGLSLESProgram.h>
Specialisation of HighLevelGpuProgram to provide support for OpenGL Shader Language (GLSL ES) for OpenGL ES 2.0.
◆ GLSLESProgram()
◆ ~GLSLESProgram()
Ogre::GLSLESProgram::~GLSLESProgram |
( |
| ) |
|
◆ attachToProgramObject()
void Ogre::GLSLESProgram::attachToProgramObject |
( |
const GLuint |
programObject | ) |
|
◆ compile()
bool Ogre::GLSLESProgram::compile |
( |
const bool |
checkErrors = false | ) |
|
compile source into shader object
◆ createParameters()
◆ detachFromProgramObject()
void Ogre::GLSLESProgram::detachFromProgramObject |
( |
const GLuint |
programObject | ) |
|
◆ getGLProgramHandle()
GLuint Ogre::GLSLESProgram::getGLProgramHandle |
( |
| ) |
const |
|
inline |
◆ getGLShaderHandle()
GLuint Ogre::GLSLESProgram::getGLShaderHandle |
( |
| ) |
const |
|
inline |
◆ getIsOptimised()
bool Ogre::GLSLESProgram::getIsOptimised |
( |
void |
| ) |
|
|
inline |
Gets if the GLSL source has been optimised successfully.
◆ getLanguage()
const String& Ogre::GLSLESProgram::getLanguage |
( |
void |
| ) |
const |
◆ getOptimisedSource()
String Ogre::GLSLESProgram::getOptimisedSource |
( |
void |
| ) |
|
|
inline |
Gets he optimised GLSL source.
◆ getOptimiserEnabled()
bool Ogre::GLSLESProgram::getOptimiserEnabled |
( |
void |
| ) |
const |
|
inline |
Gets if the GLSL optimiser is enabled.
◆ getPassFogStates()
bool Ogre::GLSLESProgram::getPassFogStates |
( |
void |
| ) |
const |
◆ getPassSurfaceAndLightStates()
bool Ogre::GLSLESProgram::getPassSurfaceAndLightStates |
( |
void |
| ) |
const |
◆ getPassTransformStates()
bool Ogre::GLSLESProgram::getPassTransformStates |
( |
void |
| ) |
const |
◆ getPreprocessorDefines()
const String& Ogre::GLSLESProgram::getPreprocessorDefines |
( |
void |
| ) |
const |
|
inline |
Sets the preprocessor defines use to compile the program.
◆ setIsOptimised()
void Ogre::GLSLESProgram::setIsOptimised |
( |
bool |
flag | ) |
|
|
inline |
Sets if the GLSL source has been optimised successfully.
◆ setOptimisedSource()
void Ogre::GLSLESProgram::setOptimisedSource |
( |
const String & |
src | ) |
|
|
inline |
Sets the optimised GLSL source.
◆ setOptimiserEnabled()
void Ogre::GLSLESProgram::setOptimiserEnabled |
( |
bool |
enabled | ) |
|
Sets if the GLSL optimiser is enabled.
◆ setPreprocessorDefines()
void Ogre::GLSLESProgram::setPreprocessorDefines |
( |
const String & |
defines | ) |
|
|
inline |
Sets the preprocessor defines use to compile the program.
The documentation for this class was generated from the following file: