GLPUSHDEBUGGROUP(3G)
okay so bestie, this is GLPUSHDEBUGGROUP from the 3G manual β yes, the debug-group lore page. π
β¨
π NAME
glPushDebugGroup β push a named debug group into the command stream. iconic behavior, no cap. π
β¨ C SPECIFICATION
void glPushDebugGroup(GLenum source, GLuint id, GLsizei length,
const char * message);
π¦ PARAMETERS
sourceβ the source of the debug message. πidβ the identifier of the message. π₯lengthβ the length of the message to be sent to the debug output stream. πmessageβ the a string containing the message to be sent to the debug output stream. yes, "the a string" is right there, bestie ππ
πΈ DESCRIPTION
glPushDebugGroup pushes a debug group described by the string message into the command stream. The value of id specifies the ID of messages generated. The parameter length contains the number of characters in message. If length is negative, it is implied that message contains a null terminated string. π«Ά
The message has the specified source and id, the type GL_DEBUG_TYPE_PUSH_GROUP, and severity GL_DEBUG_SEVERITY_NOTIFICATION. The GL will put a new debug group on top of the debug group stack which inherits the control of the volume of debug output of the debug group previously residing on the top of the debug group stack. π₯β¨
Because debug groups are strictly hierarchical, any additional control of the debug output volume will only apply within the active debug group and the debug groups pushed on top of the active debug group. periodt. π
π ERRORS
GL_INVALID_ENUMis generated if the value ofsourceis neitherGL_DEBUG_SOURCE_APPLICATIONnorGL_DEBUG_SOURCE_THIRD_PARTY. π¨GL_INVALID_VALUEis generated iflengthis negative and the number of characters inmessage, excluding the null-terminator, is not less than the value ofGL_MAX_DEBUG_MESSAGE_LENGTH. π₯
π ASSOCIATED GETS
glGet()with argumentGL_MAX_DEBUG_MESSAGE_LENGTH. π―
π VERSION SUPPORT
okay so the version-support chart is giving very specific. The Function / Feature Name is glPushDebugGroup, and the OpenGL Version columns are 2.0, 2.1, 3.0, 3.1, 3.2, 3.3, 4.0, 4.1, 4.2, 4.3, 4.4, 4.5. The vibe check is:
2.0β-2.1β-3.0β-3.1β-3.2β-3.3β-4.0β-4.1β-4.2β-4.3ββ4.4ββ4.5ββ
slay for 4.3 and up, bestie. ππ
π§ SEE ALSO
glPopDebugGroup()glObjectLabel()glObjectPtrLabel()
π COPYRIGHT
Copyright Β© 2013-2014 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/. π
π COPYRIGHT
Copyright Β© 2013-2014 Khronos Group π«Ά
mwah π that's the page β from [FIXME: source], dated 08/09/2021, living in the 3G manual. periodt. π
π¦ where this page comes from
- centos-stream 9: gl-manpages 1.1-24.20190306.el9 Β· MIT and Open Publication
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms