CGVIS Utils
Loading...
Searching...
No Matches
GLException Class Reference

Exception used for OpenGL-related failures. More...

#include <GLDebug.h>

Inheritance diagram for GLException:
[legend]
Collaboration diagram for GLException:
[legend]

Public Member Functions

 GLException (const std::string &whatStr)
 Construct with an explanatory message.
virtual const char * what () const throw ()
 Retrieve the explanatory C-string.

Detailed Description

Exception used for OpenGL-related failures.

Thrown by helpers in this header/its implementation to indicate a GL error state or to forward shader/program info logs. The message can be retrieved using what().

Constructor & Destructor Documentation

◆ GLException()

GLException::GLException ( const std::string & whatStr)
inline

Construct with an explanatory message.

Member Function Documentation

◆ what()

virtual const char * GLException::what ( ) const
throw ( )
inlinevirtual

Retrieve the explanatory C-string.


The documentation for this class was generated from the following file: