Installs a custom callback processing the debug output. More...
#include </home/chochlik/devel/oglplus/include/oglplus/ext/ARB_debug_output.hpp>
Public Member Functions | |
LogSink (Callback callback) | |
Installs the callback and remembers the previous. | |
LogSink (const LogSink &)=delete | |
LogSinks are not copyable. | |
~LogSink (void) | |
Restores the previous callback and its context. | |
Installs a custom callback processing the debug output.
Instances of this class install a new Callback function processing the debug output messages in the constructor and restoring the previous callback when destroyed.