GLGETDEBUGMESSAGELOG(3G)
β¨ NAME β¨
okay so this is the page for glGetDebugMessageLog in the GLGETDEBUGMESSAGELOG(3G) manual β yes bestie, 3G era, we're in the group chat now π
β and itβs all about retrieving messages from the debug message log. Literally the log-to-main-character pipeline. π
π C SPECIFICATION π
GLuint glGetDebugMessageLog(GLuint count, GLsizei bufSize,
GLenum *sources, GLenum *types, GLuint *ids,
GLenum *severities, GLsizei *lengths,
GLchar *messageLog);
π PARAMETERS π
countβ The number of debug messages to retrieve from the log. πbufSizeβ The size of the buffer whose address is given bymessageLog.sourcesβ The address of an array of variables to receive the sources of the retrieved messages.typesβ The address of an array of variables to receive the types of the retrieved messages.idsβ The address of an array of unsigned integers to receive the ids of the retrieved messages.severitiesβ The address of an array of variables to receive the severites of the retrieved messages. yes, βseveritesβ is the spelling on the page β we donβt make the rules, we just vibe with the manpage πlengthsβ The address of an array of variables to receive the lengths of the received messages.messageLogβ The address of an array of characters that will receive the messages.
π¦ DESCRIPTION π¦
glGetDebugMessageLog retrieves messages from the debug message log. A maximum of count messages are retrieved from the log. If sources is not NULL then the source of each message is written into up to count elements of the array. If types is not NULL then the type of each message is written into up to count elements of the array. If id is not NULL then the identifier of each message is written into up to count elements of the array. If severities is not NULL then the severity of each message is written into up to count elements of the array. If lengths is not NULL then the length of each message is written into up to count elements of the array.
messageLog specifies the address of a character array into which the debug messages will be written. Each message will be concatenated onto the array starting at the first element of messageLog. bufSize specifies the size of the array messageLog. If a message will not fit into the remaining space in messageLog then the function terminates and returns the number of messages written so far, which may be zero. π
If glGetDebugMessageLog returns zero then no messages are present in the debug log, or there was not enough space in messageLog to retrieve the first message in the queue. If messageLog is NULL then no messages are written and the value of bufSize is ignored.
πΈ NOTES πΈ
Although debug messages may be enabled in a non-debug context, the quantity and detail of such messages may be substantially inferior to those in a debug context. In particular, a valid implementation of the debug message queue in a non-debug context may produce no messages at all. bestieβ¦ not even one. π
π ERRORS π
GL_INVALID_VALUE is generated if count or bufSize is negative. periodt. π¨
π₯ ASSOCIATED GETS π₯
glGet()with argumentGL_DEBUG_LOGGED_MESSAGESglGet()with argumentGL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTHglGet()with argumentGL_MAX_DEBUG_MESSAGE_LENGTHglGet()with argumentGL_MAX_DEBUG_LOGGED_MESSAGES
π VERSION SUPPORT π
function/feature name: glGetDebugMessageLog β¨
OpenGL version vibe check:
2.0β-2.1β-3.0β-3.1β-3.2β-3.3β-4.0β-4.1β-4.2β-4.3ββ4.4ββ4.5ββ
so sheβs a 4.3-and-later girlie, no cap. π
π SEE ALSO π
glDebugMessageInsert()glDebugMessageCallback()glDebugMessageControl()
π 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
π
okay bye bestie β this pageβs source/version is [FIXME: source] and the date is 08/09/2021, so thatβs the GLGETDEBUGMESSAGELOG(3G) manual page signed off with a bow. π
π¦ 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