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().
| globjects::Error::Error |
( |
| ) |
|
| globjects::Error::Error |
( |
gl::GLenum |
errorCode | ) |
|
| static Error globjects::Error::get |
( |
| ) |
|
|
static |
| static void globjects::Error::clear |
( |
| ) |
|
|
static |
| gl::GLenum globjects::Error::code |
( |
| ) |
const |
| std::string globjects::Error::name |
( |
| ) |
const |
| bool globjects::Error::isError |
( |
| ) |
const |
| globjects::Error::operator bool |
( |
| ) |
const |
| gl::GLenum globjects::Error::m_errorCode |
|
protected |
The documentation for this class was generated from the following file: