glDebugMessageInsert

inject an application-supplied message into the debug message queue

Signature

glDebugMessageInsert( GLenum ( source ) , GLenum ( type ) , GLuint ( id ) , GLenum ( severity ) , GLsizei ( length ) , const char *( message ) )-> void
glDebugMessageInsert( source , type , id , severity , length , buf )

Parameters

VariablesDescription
source
The source of the debug message to insert.
type
The type of the debug message insert.
id
The user-supplied identifier of the message to insert.
severity
The severity of the debug messages to insert.
length
The length string contained in the character array whose address is given by message .
message
The address of a character array containing the message to insert.