GLAPI/glPopDebugGroup: Difference between revisions

From OpenGL Wiki
Jump to navigation Jump to search
Bot: Adding better formatting.
 
m Removing references to specs that don't exist anymore.
 
Line 2: Line 2:
| name = glPopDebugGroup
| name = glPopDebugGroup
| core = 4.3
| core = 4.3
| core_extension = [http://www.opengl.org/registry/specs/KHR/debug.txt KHR_debug], [http://www.opengl.org/registry/specs/ARB/debug_group.txt ARB_debug_group]
| core_extension = [http://www.opengl.org/registry/specs/KHR/debug.txt KHR_debug]
}}
}}



Latest revision as of 09:46, 15 August 2012

glPopDebugGroup
Core in version 4.6
Core since version 4.3
Core ARB extension KHR_debug

glPopDebugGroup: pop the active debug group

Function Definition

 void glPopDebugGroup(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.

Associated Gets

glGet with argument GL_MAX_DEBUG_MESSAGE_LENGTH.

See Also

glPushDebugGroup, glObjectLabel, glObjectPtrLabel.

Copyright

Copyright © 2012 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. http://opencontent.org/openpub/.