GL++  0.1
OpenGL API C++ Wrapper
 All Classes Namespaces Functions Variables Typedefs Enumerations Friends Groups Pages
Exceptions

Exceptions defined by GLPP. More...

Classes

struct  glpp::exception
 Base exception class for all GLPP related exceptions. More...
struct  glpp::gl_error
 Exception that wraps an OpenGL error code. More...
struct  glpp::object_not_found
 Exception thrown when object cannot be located. More...
struct  glpp::uniform_not_found
 Exception thrown when uniform cannot be located. More...
struct  glpp::no_active_context
 Exception thrown when there is no active context. More...
struct  glpp::shader_compile_error
 Exception thrown when shader compilation has failed. More...

Detailed Description

Exceptions defined by GLPP.

GLPP uses exceptions to notify for abnormal behavior on execution path, but at the same time tries to keep performance equal to using plain old C interface. All exceptions are inherited from std::exception for the sake of interoperability. Some exceptions may carry additional information depending the purpose they serve.