glGetDebugMessageLog

retrieve messages from the debug message log

Signature

glGetDebugMessageLog( GLuint ( count ) , GLsizei ( bufSize ) , GLenum *( sources ) , Glenum *( types ) , GLuint *( ids ) , GLenum *( severities ) , GLsizei *( lengths ) , GLchar *( messageLog ) )-> GLuint
glGetDebugMessageLog( count , bufSize , sources , types , ids , severities , lengths , messageLog ) -> <class 'ctypes.c_uint'>

Parameters

VariablesDescription
count
The number of debug messages to retrieve from the log.
bufSize
The size of the buffer whose address is given by messageLog .
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.
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.