Loading...
Searching...
No Matches
GlfDebugGroup Class Reference

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
 
GlfDebugGroupoperator= (GlfDebugGroup const &)=delete
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ GlfDebugGroup()

GLF_API GlfDebugGroup ( char const *  message)

Pushes a new debug group onto the GL api debug trace stack.

◆ ~GlfDebugGroup()

GLF_API ~GlfDebugGroup ( )

Pops a debug group off the GL api debug trace stack.


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