Delegate DebugProc
Defines the signature of a debug callback for DebugMessageCallback(DebugProc, IntPtr).
Namespace: OpenTK.Graphics.OpenGL4
Assembly: OpenTK.dll
Syntax
public delegate void DebugProc(DebugSource source, DebugType type, int id, DebugSeverity severity, int length, IntPtr message, IntPtr userParam);
Parameters
| Type | Name | Description |
|---|---|---|
| DebugSource | source | The DebugSource for this debug message. |
| DebugType | type | The DebugType for this debug message. |
| Int32 | id | The id of this debug message. |
| DebugSeverity | severity | The DebugSeverity for this debug message. |
| Int32 | length | The length of this debug message. |
| IntPtr | message | A pointer to a null-terminated ASCII C string, representing the content of this debug message. |
| IntPtr | userParam | A pointer to a user-specified parameter. |