Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

glPopDebugGroup - pop the active debug group

Associated Gets

glGet() with argument GL_MAX_DEBUG_MESSAGE_LENGTH.

C Specification

voidglPopDebugGroup(void);

Description

glPopDebugGroup pops the active debug group. After popping a debug group, the GL will also generate a
       debug output message describing its cause based on the message string, the source source, and an ID id
       submitted to the corresponding glPushDebugGroup() command.  GL_DEBUG_TYPE_PUSH_GROUP and
       GL_DEBUG_TYPE_POP_GROUP share a single namespace for message id.  severity has the value
       GL_DEBUG_SEVERITY_NOTIFICATION. The type has the value GL_DEBUG_TYPE_POP_GROUP. Popping a debug group
       restores the debug output volume control of the parent debug group.

Errors

GL_STACK_UNDERFLOW is generated if an attempt is made to pop the default debug group from the stack.

Name

       glPopDebugGroup - pop the active debug group

See Also

glPushDebugGroup(), glObjectLabel(), glObjectPtrLabel().

Version Support

       ┌─────────────────┬───────────────────────────────────────────────────────────────────────┐
       │                 │                OpenGLVersion                                         │
       ├─────────────────┼─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┤
       │ Function        │ 2.0 │ 2.1 │ 3.0 │ 3.1 │ 3.2 │ 3.3 │ 4.0 │ 4.1 │ 4.2 │ 4.3 │ 4.4 │ 4.5 │
       │ /               │     │     │     │     │     │     │     │     │     │     │     │     │
       │ Feature         │     │     │     │     │     │     │     │     │     │     │     │     │
       │ Name            │     │     │     │     │     │     │     │     │     │     │     │     │
       ├─────────────────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
       │ glPopDebugGroup │  -  │  -  │  -  │  -  │  -  │  -  │  -  │  -  │  -  │  ✔  │  ✔  │  ✔  │
       └─────────────────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘

See Also