OGRE  1.10.4
Object-Oriented Graphics Rendering Engine
Ogre::GLSL Namespace Reference

Classes

class  GLSLGpuProgram
 GLSL low level compiled shader object - this class is used to get at the linked program object and provide an interface for GLRenderSystem calls. More...
 
class  GLSLLinkProgram
 C++ encapsulation of GLSL Program Object. More...
 
class  GLSLLinkProgramManager
 Ogre assumes that there are separate vertex and fragment programs to deal with but GLSL has one program object that represents the active vertex and fragment shader objects during a rendering state. More...
 
class  GLSLProgram
 Specialisation of HighLevelGpuProgram to provide support for OpenGL Shader Language (GLSL). More...
 
class  GLSLProgramFactory
 Factory class for GLSL programs. More...
 

Functions

String logObjectInfo (const String &msg, const GLhandleARB obj)
 if there is a message in GL info log then post it in the Ogre Log More...
 
void reportGLSLError (GLenum glErr, const String &ogreMethod, const String &errorTextPrefix, const GLhandleARB obj, const bool forceInfoLog=false, const bool forceException=false)
 Check for GL errors and report them in the Ogre Log. More...
 

Function Documentation

◆ reportGLSLError()

void Ogre::GLSL::reportGLSLError ( GLenum  glErr,
const String ogreMethod,
const String errorTextPrefix,
const GLhandleARB  obj,
const bool  forceInfoLog = false,
const bool  forceException = false 
)

Check for GL errors and report them in the Ogre Log.

◆ logObjectInfo()

String Ogre::GLSL::logObjectInfo ( const String msg,
const GLhandleARB  obj 
)

if there is a message in GL info log then post it in the Ogre Log

Parameters
msgthe info log message string is appended to this string
objthe GL object that is used to retrieve the info log