nCine/Graphics/GL/GLDebug.h file

Namespaces

namespace nCine
Root namespace of nCine game engine.

Classes

class nCine::GLDebug
Wrapper around OpenGL debug output and object labelling.
class nCine::GLDebug::ScopedGroup
RAII scope for an OpenGL debug message group.

Defines

#define GL_LOG_ERRORS()
Logs any pending OpenGL error.

Define documentation

#define GL_LOG_ERRORS()

Logs any pending OpenGL error.

Expands to a glGetError() check that logs a warning when an error is pending. Compiles to a no-op unless both DEATH_TRACE and DEATH_TRACE_VERBOSE_GL are defined.