Specialisation of HighLevelGpuProgram to provide support for OpenGL Shader Language (GLSL).
More...
#include <OgreGLSLProgram.h>
Specialisation of HighLevelGpuProgram to provide support for OpenGL Shader Language (GLSL).
- Note
- GLSL 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.
◆ GLSLProgram()
◆ ~GLSLProgram()
Ogre::GLSL::GLSLProgram::~GLSLProgram |
( |
| ) |
|
◆ getGLHandle()
GLhandleARB Ogre::GLSL::GLSLProgram::getGLHandle |
( |
| ) |
const |
|
inline |
◆ attachToProgramObject()
void Ogre::GLSL::GLSLProgram::attachToProgramObject |
( |
const GLhandleARB |
programObject | ) |
|
◆ detachFromProgramObject()
void Ogre::GLSL::GLSLProgram::detachFromProgramObject |
( |
const GLhandleARB |
programObject | ) |
|
◆ getLanguage()
const String& Ogre::GLSL::GLSLProgram::getLanguage |
( |
void |
| ) |
const |
◆ compile()
bool Ogre::GLSL::GLSLProgram::compile |
( |
bool |
checkErrors = true | ) |
|
compile source into shader object
The documentation for this class was generated from the following file: