nCine::GLDebug class

Handles OpenGL debug functions.

Public types

class ScopedGroup
enum class LabelTypes { TransformFeedback = GL_TRANSFORM_FEEDBACK, Texture = GL_TEXTURE, RenderBuffer = GL_RENDERBUFFER, FrameBuffer = GL_FRAMEBUFFER, Buffer = GL_BUFFER, Shader = GL_SHADER, Program = GL_PROGRAM, VertexArray = GL_VERTEX_ARRAY, Query = GL_QUERY, ProgramPipeline = GL_PROGRAM_PIPELINE, Sampler = GL_SAMPLER }

Public static functions

static void init(const IGfxCapabilities& gfxCaps)
static void reset()
static auto isAvailable() -> bool
static void pushGroup(const char* message)
static void popGroup()
static void messageInsert(const char* message)
static void objectLabel(LabelTypes identifier, GLuint name, const char* label)
static void objectLabel(LabelTypes identifier, GLuint name, GLsizei length, const char* label)
static void getObjectLabel(LabelTypes identifier, GLuint name, GLsizei bufSize, GLsizei* length, char* label)
static auto maxLabelLength() -> int