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

Classes

class  GLSLLinkProgram
 C++ encapsulation of GLSL Program Object. More...
 
class  GLSLLinkProgramManager
 
class  GLSLProgram
 
class  GLSLProgramFactory
 Factory class for GLSL programs. More...
 

Functions

String getObjectInfo (GLuint obj)
 just return the info without logging it More...
 
String logObjectInfo (const String &msg, uint 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 uint 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 uint  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,
uint  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

◆ getObjectInfo()

String Ogre::GLSL::getObjectInfo ( GLuint  obj)

just return the info without logging it