Files
stgsharp/源代码/StgSharp/Graphic/GL/DebugPro.cs
T
2023-04-29 03:06:32 +08:00

17 lines
793 B
C#

using System;
namespace StgSharp.Graphic.GL
{
/// <summary>
/// A delegate used to receive debug information.
/// </summary>
/// <param name="source">The source of the callback.</param>
/// <param name="type">The type of the callback.</param>
/// <param name="id">The ID of the callback.</param>
/// <param name="severity">The severity of the callback.</param>
/// <param name="length">The length of the callback message.</param>
/// <param name="message">A pointer to the callback message.</param>
/// <param name="userParam">A user supplied pointer that will be passed on each callback.</param>
public delegate void DebugProc(DebugSource source, DebugType type, int id, DebugSeverity severity, int length, IntPtr message, IntPtr userParam);
}