|
Represents a GL debug group in Glf. More...
#include <diagnostic.h>
Public Member Functions | |
GLF_API | GlfDebugGroup (char const *message) |
Pushes a new debug group onto the GL api debug trace stack. | |
GLF_API | ~GlfDebugGroup () |
Pops a debug group off the GL api debug trace stack. | |
GlfDebugGroup (GlfDebugGroup const &)=delete | |
GlfDebugGroup & | operator= (GlfDebugGroup const &)=delete |
Represents a GL debug group in Glf.
The debug group conditionally adds debug objects to the GL stream based on the value to the environment variable GLF_ENABLE_DIAGNOSTIC_TRACE. If set to 1 (true) the debug objects will be pushed and popped in the command stream as long as the GL implementation and version supports it.
Definition at line 84 of file diagnostic.h.
GLF_API GlfDebugGroup | ( | char const * | message | ) |
Pushes a new debug group onto the GL api debug trace stack.
GLF_API ~GlfDebugGroup | ( | ) |
Pops a debug group off the GL api debug trace stack.