ImFusion C++ SDK 4.5.0
ImFusion::GL::Debug::OpenGlException Class Reference

#include <ImFusion/Core/GL/Debug.h>

Specialization of std::runtime_error that also stores the original OpenGL error code. More...

Inheritance diagram for ImFusion::GL::Debug::OpenGlException:

Detailed Description

Specialization of std::runtime_error that also stores the original OpenGL error code.

Public Member Functions

 OpenGlException (const std::string &message, Error glErrorCode)
 Constructs a new OpenGlException with the given message and OpenGL error code.
bool isCritical () const
 Returns true if glErrorCode is either Error::StackUnderflow or Error::StackOverflow.
bool isFatal () const
 Returns true if glErrorCode is Error::OutOfMemory.
Public Member Functions inherited from std::runtime_error
runtime_error (T... args)
what (T... args)
Public Member Functions inherited from std::exception
exception (T... args)
operator= (T... args)
what (T... args)
~exception (T... args)

Public Attributes

Error glErrorCode
 original OpenGL error code

The documentation for this class was generated from the following file:
  • ImFusion/Core/GL/Debug.h
Search Tab / S to search, Esc to close