OGLplus (0.52.0) a C++ wrapper for OpenGL

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.
 

Detailed Description

Wrapper for the ARB_debug_output extension.

Related OpenGL symbols:
GL_ARB_debug_output
Examples:
standalone/002_triangle_compatibility.cpp.

Member Typedef Documentation

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:

See Also
ARB_debug_output_Unique
ARB_debug_output_Tree
ARB_debug_output_ToXML

The documentation for this class was generated from the following file:

Copyright © 2010-2014 Matúš Chochlík, University of Žilina, Žilina, Slovakia.
<matus.chochlik -at- fri.uniza.sk>
<chochlik -at -gmail.com>
Documentation generated on Mon Sep 22 2014 by Doxygen (version 1.8.6).