nCine/Graphics/RHI/GL/GLDebug.h file

Namespaces

namespace nCine
Root namespace of nCine game engine.
namespace nCine::RHI
Render Hardware Interface — compile-time-selectable graphics backend abstraction.
namespace nCine::RHI::GL
OpenGL 3.3 core, OpenGL|ES 3.0/2.0 and WebGL 2.0 backend, selected by WITH_RHI_GL.

Classes

class nCine::RHI::GL::GLDebug
Wrapper around OpenGL debug output and object labelling.
class nCine::RHI::GL::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.