Wrapper for OpenGL errors.
More...
#include <globjects/include/globjects/Error.h>
Wrapper for OpenGL errors.
To access the current Error (which can be none), call get(). To discard any current error, call clear().
§ Error() [1/2]
globjects::Error::Error |
( |
| ) |
|
§ Error() [2/2]
globjects::Error::Error |
( |
gl::GLenum |
errorCode | ) |
|
§ get()
static Error globjects::Error::get |
( |
| ) |
|
|
static |
§ clear()
static void globjects::Error::clear |
( |
| ) |
|
|
static |
§ code()
gl::GLenum globjects::Error::code |
( |
| ) |
const |
§ name()
std::string globjects::Error::name |
( |
| ) |
const |
§ isError()
bool globjects::Error::isError |
( |
| ) |
const |
§ operator bool()
globjects::Error::operator bool |
( |
| ) |
const |
§ m_errorCode
gl::GLenum globjects::Error::m_errorCode |
|
protected |
The documentation for this class was generated from the following file: