Wrapper for the ARB_debug_output extension. More...
#include </home/chochlik/devel/oglplus/include/oglplus/ext/ARB_debug_output.hpp>
Classes | |
struct | CallbackData |
Structure containing data passed to Callback functor. More... | |
class | LogSink |
Installs a custom callback processing the debug output. More... | |
Public Types | |
typedef std::function< void(const CallbackData &)> | Callback |
Type of a callback functor processing debug output. More... | |
Static Public Member Functions | |
static void | Control (DebugOutputARBSource source, DebugOutputARBType type, DebugOutputARBSeverity severity, bool enable) |
Enables/disables messages with specific parameters. | |
static void | Synchronous (bool enable) |
Enables or disables synchronous debug output. | |
static void | InsertMessage (DebugOutputARBSource source, DebugOutputARBType type, GLuint id, DebugOutputARBSeverity severity, const GLchar *buffer, GLint length=-1) |
Inserts a new message into the debug output. | |
static void | InsertMessage (DebugOutputARBSource source, DebugOutputARBType type, GLuint id, DebugOutputARBSeverity severity, StrCRef message) |
Inserts a new message into the debug output. | |
Wrapper for the ARB_debug_output extension.
typedef std::function<void (const CallbackData&)> oglplus::ARB_debug_output::Callback |
Type of a callback functor processing debug output.
OGLplus implements several callbacks that can be used with this extension: