OGRE 1.12.10
Object-Oriented Graphics Rendering Engine
Loading...
Searching...
No Matches
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
String logObjectInfo (const String &msg, GLhandleARB obj)
 if there is a message in GL info log then post it in the Ogre Log
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.

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,
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

◆ getObjectInfo()

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

just return the info without logging it