OGLplus (0.52.0) a C++ wrapper for OpenGL

oglplus::Debug::Group Class Reference

Pushes a group when constructed, pops in when destroyed. More...

#include </home/chochlik/devel/oglplus/include/oglplus/opt/debug_output.hpp>

Public Member Functions

 Group (DebugOutputSource source, GLuint id, const GLchar *message, GLint length=-1)
 Pushes a debug group with the specified parameters. More...
 
 Group (DebugOutputSource source, GLuint id, StrCRef message)
 Pushes a debug group with the specified parameters. More...
 
 Group (DebugOutputSource source, GLuint id, const String &message)
 Pushes a debug group with the specified parameters. More...
 
 Group (const Group &)=delete
 Groups are not copyable.
 
 ~Group (void)
 Pops a debug group with the specified parameters. More...
 

Detailed Description

Pushes a group when constructed, pops in when destroyed.

Constructor & Destructor Documentation

oglplus::Debug::Group::Group ( DebugOutputSource  source,
GLuint  id,
const GLchar *  message,
GLint  length = -1 
)

Pushes a debug group with the specified parameters.

Related OpenGL symbols:
glPushDebugGroup
oglplus::Debug::Group::Group ( DebugOutputSource  source,
GLuint  id,
StrCRef  message 
)

Pushes a debug group with the specified parameters.

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Related OpenGL symbols:
glPushDebugGroup

References oglplus::StrCRefTpl< Char >::begin(), and oglplus::StrCRefTpl< Char >::size().

oglplus::Debug::Group::Group ( DebugOutputSource  source,
GLuint  id,
const String message 
)

Pushes a debug group with the specified parameters.

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Related OpenGL symbols:
glPushDebugGroup
oglplus::Debug::Group::~Group ( void  )

Pops a debug group with the specified parameters.

Related OpenGL symbols:
glPopDebugGroup

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).