</param>
</function>
- <function name="GetMessageDebugLog" extension="Core">
+ <function name="GetDebugMessageLog" extension="Core">
<param name="sources">
<type>DebugSource</type>
</param>
/// </param>
[AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetDebugMessageLog")]
public static
- Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL.All[] sources, [OutAttribute] OpenTK.Graphics.OpenGL.All[] types, [OutAttribute] Int32[] ids, [OutAttribute] OpenTK.Graphics.OpenGL.All[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog)
+ Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL.DebugSource[] sources, [OutAttribute] OpenTK.Graphics.OpenGL.DebugType[] types, [OutAttribute] Int32[] ids, [OutAttribute] OpenTK.Graphics.OpenGL.DebugSeverity[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
#endif
unsafe
{
- fixed (OpenTK.Graphics.OpenGL.All* sources_ptr = sources)
- fixed (OpenTK.Graphics.OpenGL.All* types_ptr = types)
+ fixed (OpenTK.Graphics.OpenGL.DebugSource* sources_ptr = sources)
+ fixed (OpenTK.Graphics.OpenGL.DebugType* types_ptr = types)
fixed (Int32* ids_ptr = ids)
- fixed (OpenTK.Graphics.OpenGL.All* severities_ptr = severities)
+ fixed (OpenTK.Graphics.OpenGL.DebugSeverity* severities_ptr = severities)
fixed (Int32* lengths_ptr = lengths)
{
- return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL.All*)sources_ptr, (OpenTK.Graphics.OpenGL.All*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.OpenGL.All*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog);
+ return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL.DebugSource*)sources_ptr, (OpenTK.Graphics.OpenGL.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.OpenGL.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog);
}
}
#if DEBUG
/// </param>
[AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetDebugMessageLog")]
public static
- Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.OpenGL.All sources, [OutAttribute] out OpenTK.Graphics.OpenGL.All types, [OutAttribute] out Int32 ids, [OutAttribute] out OpenTK.Graphics.OpenGL.All severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog)
+ Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.OpenGL.DebugSource sources, [OutAttribute] out OpenTK.Graphics.OpenGL.DebugType types, [OutAttribute] out Int32 ids, [OutAttribute] out OpenTK.Graphics.OpenGL.DebugSeverity severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
#endif
unsafe
{
- fixed (OpenTK.Graphics.OpenGL.All* sources_ptr = &sources)
- fixed (OpenTK.Graphics.OpenGL.All* types_ptr = &types)
+ fixed (OpenTK.Graphics.OpenGL.DebugSource* sources_ptr = &sources)
+ fixed (OpenTK.Graphics.OpenGL.DebugType* types_ptr = &types)
fixed (Int32* ids_ptr = &ids)
- fixed (OpenTK.Graphics.OpenGL.All* severities_ptr = &severities)
+ fixed (OpenTK.Graphics.OpenGL.DebugSeverity* severities_ptr = &severities)
fixed (Int32* lengths_ptr = &lengths)
{
- Int32 retval = Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL.All*)sources_ptr, (OpenTK.Graphics.OpenGL.All*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.OpenGL.All*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog);
+ Int32 retval = Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL.DebugSource*)sources_ptr, (OpenTK.Graphics.OpenGL.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.OpenGL.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog);
sources = *sources_ptr;
types = *types_ptr;
ids = *ids_ptr;
[System.CLSCompliant(false)]
[AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetDebugMessageLog")]
public static
- unsafe Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL.All* sources, [OutAttribute] OpenTK.Graphics.OpenGL.All* types, [OutAttribute] Int32* ids, [OutAttribute] OpenTK.Graphics.OpenGL.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog)
+ unsafe Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL.DebugSource* sources, [OutAttribute] OpenTK.Graphics.OpenGL.DebugType* types, [OutAttribute] Int32* ids, [OutAttribute] OpenTK.Graphics.OpenGL.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
- return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL.All*)sources, (OpenTK.Graphics.OpenGL.All*)types, (UInt32*)ids, (OpenTK.Graphics.OpenGL.All*)severities, (Int32*)lengths, (StringBuilder)messageLog);
+ return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL.DebugSource*)sources, (OpenTK.Graphics.OpenGL.DebugType*)types, (UInt32*)ids, (OpenTK.Graphics.OpenGL.DebugSeverity*)severities, (Int32*)lengths, (StringBuilder)messageLog);
#if DEBUG
}
#endif
[System.CLSCompliant(false)]
[AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetDebugMessageLog")]
public static
- Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL.All[] sources, [OutAttribute] OpenTK.Graphics.OpenGL.All[] types, [OutAttribute] UInt32[] ids, [OutAttribute] OpenTK.Graphics.OpenGL.All[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog)
+ Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL.DebugSource[] sources, [OutAttribute] OpenTK.Graphics.OpenGL.DebugType[] types, [OutAttribute] UInt32[] ids, [OutAttribute] OpenTK.Graphics.OpenGL.DebugSeverity[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
#endif
unsafe
{
- fixed (OpenTK.Graphics.OpenGL.All* sources_ptr = sources)
- fixed (OpenTK.Graphics.OpenGL.All* types_ptr = types)
+ fixed (OpenTK.Graphics.OpenGL.DebugSource* sources_ptr = sources)
+ fixed (OpenTK.Graphics.OpenGL.DebugType* types_ptr = types)
fixed (UInt32* ids_ptr = ids)
- fixed (OpenTK.Graphics.OpenGL.All* severities_ptr = severities)
+ fixed (OpenTK.Graphics.OpenGL.DebugSeverity* severities_ptr = severities)
fixed (Int32* lengths_ptr = lengths)
{
- return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL.All*)sources_ptr, (OpenTK.Graphics.OpenGL.All*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.OpenGL.All*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog);
+ return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL.DebugSource*)sources_ptr, (OpenTK.Graphics.OpenGL.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.OpenGL.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog);
}
}
#if DEBUG
[System.CLSCompliant(false)]
[AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetDebugMessageLog")]
public static
- Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.OpenGL.All sources, [OutAttribute] out OpenTK.Graphics.OpenGL.All types, [OutAttribute] out UInt32 ids, [OutAttribute] out OpenTK.Graphics.OpenGL.All severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog)
+ Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.OpenGL.DebugSource sources, [OutAttribute] out OpenTK.Graphics.OpenGL.DebugType types, [OutAttribute] out UInt32 ids, [OutAttribute] out OpenTK.Graphics.OpenGL.DebugSeverity severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
#endif
unsafe
{
- fixed (OpenTK.Graphics.OpenGL.All* sources_ptr = &sources)
- fixed (OpenTK.Graphics.OpenGL.All* types_ptr = &types)
+ fixed (OpenTK.Graphics.OpenGL.DebugSource* sources_ptr = &sources)
+ fixed (OpenTK.Graphics.OpenGL.DebugType* types_ptr = &types)
fixed (UInt32* ids_ptr = &ids)
- fixed (OpenTK.Graphics.OpenGL.All* severities_ptr = &severities)
+ fixed (OpenTK.Graphics.OpenGL.DebugSeverity* severities_ptr = &severities)
fixed (Int32* lengths_ptr = &lengths)
{
- Int32 retval = Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL.All*)sources_ptr, (OpenTK.Graphics.OpenGL.All*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.OpenGL.All*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog);
+ Int32 retval = Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL.DebugSource*)sources_ptr, (OpenTK.Graphics.OpenGL.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.OpenGL.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog);
sources = *sources_ptr;
types = *types_ptr;
ids = *ids_ptr;
[System.CLSCompliant(false)]
[AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetDebugMessageLog")]
public static
- unsafe Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL.All* sources, [OutAttribute] OpenTK.Graphics.OpenGL.All* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog)
+ unsafe Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL.DebugSource* sources, [OutAttribute] OpenTK.Graphics.OpenGL.DebugType* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
- return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL.All*)sources, (OpenTK.Graphics.OpenGL.All*)types, (UInt32*)ids, (OpenTK.Graphics.OpenGL.All*)severities, (Int32*)lengths, (StringBuilder)messageLog);
+ return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL.DebugSource*)sources, (OpenTK.Graphics.OpenGL.DebugType*)types, (UInt32*)ids, (OpenTK.Graphics.OpenGL.DebugSeverity*)severities, (Int32*)lengths, (StringBuilder)messageLog);
#if DEBUG
}
#endif
internal extern static unsafe void GetConvolutionParameterxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetDebugMessageLog", ExactSpelling = true)]
- internal extern static unsafe Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL.All* sources, [OutAttribute] OpenTK.Graphics.OpenGL.All* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog);
+ internal extern static unsafe Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL.DebugSource* sources, [OutAttribute] OpenTK.Graphics.OpenGL.DebugType* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetDebugMessageLogAMD", ExactSpelling = true)]
internal extern static unsafe Int32 GetDebugMessageLogAMD(UInt32 count, Int32 bufsize, [OutAttribute] OpenTK.Graphics.OpenGL.AmdDebugOutput* categories, [OutAttribute] UInt32* severities, [OutAttribute] UInt32* ids, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder message);
internal unsafe delegate void GetConvolutionParameterxvOES(OpenTK.Graphics.OpenGL.OesFixedPoint target, OpenTK.Graphics.OpenGL.OesFixedPoint pname, [OutAttribute] int* @params);
internal unsafe static GetConvolutionParameterxvOES glGetConvolutionParameterxvOES;
[System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL.All* sources, [OutAttribute] OpenTK.Graphics.OpenGL.All* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog);
+ internal unsafe delegate Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL.DebugSource* sources, [OutAttribute] OpenTK.Graphics.OpenGL.DebugType* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog);
internal unsafe static GetDebugMessageLog glGetDebugMessageLog;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate Int32 GetDebugMessageLogAMD(UInt32 count, Int32 bufsize, [OutAttribute] OpenTK.Graphics.OpenGL.AmdDebugOutput* categories, [OutAttribute] UInt32* severities, [OutAttribute] UInt32* ids, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder message);
}
/// <summary>
- /// Used in GL.Arb.GetProgramEnvParameter, GL.Arb.GetProgramLocalParameter and 11 other functions
+ /// Used in GL.Arb.GetProgramEnvParameter, GL.Arb.GetProgramLocalParameter and 10 other functions
/// </summary>
public enum All : int
{
}
/// <summary>
- /// Used in GL.DebugMessageInsert
+ /// Used in GL.DebugMessageInsert, GL.GetDebugMessageLog
/// </summary>
public enum DebugSeverity : int
{
}
/// <summary>
- /// Not used directly.
+ /// Used in GL.GetDebugMessageLog
/// </summary>
public enum DebugSource : int
{
}
/// <summary>
- /// Used in GL.DebugMessageInsert
+ /// Used in GL.DebugMessageInsert, GL.GetDebugMessageLog
/// </summary>
public enum DebugType : int
{
/// </param>
[AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetDebugMessageLog")]
public static
- Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL4.All[] sources, [OutAttribute] OpenTK.Graphics.OpenGL4.All[] types, [OutAttribute] Int32[] ids, [OutAttribute] OpenTK.Graphics.OpenGL4.All[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog)
+ Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugSource[] sources, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugType[] types, [OutAttribute] Int32[] ids, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugSeverity[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
#endif
unsafe
{
- fixed (OpenTK.Graphics.OpenGL4.All* sources_ptr = sources)
- fixed (OpenTK.Graphics.OpenGL4.All* types_ptr = types)
+ fixed (OpenTK.Graphics.OpenGL4.DebugSource* sources_ptr = sources)
+ fixed (OpenTK.Graphics.OpenGL4.DebugType* types_ptr = types)
fixed (Int32* ids_ptr = ids)
- fixed (OpenTK.Graphics.OpenGL4.All* severities_ptr = severities)
+ fixed (OpenTK.Graphics.OpenGL4.DebugSeverity* severities_ptr = severities)
fixed (Int32* lengths_ptr = lengths)
{
- return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL4.All*)sources_ptr, (OpenTK.Graphics.OpenGL4.All*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.OpenGL4.All*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog);
+ return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL4.DebugSource*)sources_ptr, (OpenTK.Graphics.OpenGL4.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.OpenGL4.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog);
}
}
#if DEBUG
/// </param>
[AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetDebugMessageLog")]
public static
- Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.OpenGL4.All sources, [OutAttribute] out OpenTK.Graphics.OpenGL4.All types, [OutAttribute] out Int32 ids, [OutAttribute] out OpenTK.Graphics.OpenGL4.All severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog)
+ Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.OpenGL4.DebugSource sources, [OutAttribute] out OpenTK.Graphics.OpenGL4.DebugType types, [OutAttribute] out Int32 ids, [OutAttribute] out OpenTK.Graphics.OpenGL4.DebugSeverity severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
#endif
unsafe
{
- fixed (OpenTK.Graphics.OpenGL4.All* sources_ptr = &sources)
- fixed (OpenTK.Graphics.OpenGL4.All* types_ptr = &types)
+ fixed (OpenTK.Graphics.OpenGL4.DebugSource* sources_ptr = &sources)
+ fixed (OpenTK.Graphics.OpenGL4.DebugType* types_ptr = &types)
fixed (Int32* ids_ptr = &ids)
- fixed (OpenTK.Graphics.OpenGL4.All* severities_ptr = &severities)
+ fixed (OpenTK.Graphics.OpenGL4.DebugSeverity* severities_ptr = &severities)
fixed (Int32* lengths_ptr = &lengths)
{
- Int32 retval = Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL4.All*)sources_ptr, (OpenTK.Graphics.OpenGL4.All*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.OpenGL4.All*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog);
+ Int32 retval = Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL4.DebugSource*)sources_ptr, (OpenTK.Graphics.OpenGL4.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.OpenGL4.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog);
sources = *sources_ptr;
types = *types_ptr;
ids = *ids_ptr;
[System.CLSCompliant(false)]
[AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetDebugMessageLog")]
public static
- unsafe Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL4.All* sources, [OutAttribute] OpenTK.Graphics.OpenGL4.All* types, [OutAttribute] Int32* ids, [OutAttribute] OpenTK.Graphics.OpenGL4.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog)
+ unsafe Int32 GetDebugMessageLog(Int32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugSource* sources, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugType* types, [OutAttribute] Int32* ids, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
- return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL4.All*)sources, (OpenTK.Graphics.OpenGL4.All*)types, (UInt32*)ids, (OpenTK.Graphics.OpenGL4.All*)severities, (Int32*)lengths, (StringBuilder)messageLog);
+ return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL4.DebugSource*)sources, (OpenTK.Graphics.OpenGL4.DebugType*)types, (UInt32*)ids, (OpenTK.Graphics.OpenGL4.DebugSeverity*)severities, (Int32*)lengths, (StringBuilder)messageLog);
#if DEBUG
}
#endif
[System.CLSCompliant(false)]
[AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetDebugMessageLog")]
public static
- Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL4.All[] sources, [OutAttribute] OpenTK.Graphics.OpenGL4.All[] types, [OutAttribute] UInt32[] ids, [OutAttribute] OpenTK.Graphics.OpenGL4.All[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog)
+ Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugSource[] sources, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugType[] types, [OutAttribute] UInt32[] ids, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugSeverity[] severities, [OutAttribute] Int32[] lengths, [OutAttribute] StringBuilder messageLog)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
#endif
unsafe
{
- fixed (OpenTK.Graphics.OpenGL4.All* sources_ptr = sources)
- fixed (OpenTK.Graphics.OpenGL4.All* types_ptr = types)
+ fixed (OpenTK.Graphics.OpenGL4.DebugSource* sources_ptr = sources)
+ fixed (OpenTK.Graphics.OpenGL4.DebugType* types_ptr = types)
fixed (UInt32* ids_ptr = ids)
- fixed (OpenTK.Graphics.OpenGL4.All* severities_ptr = severities)
+ fixed (OpenTK.Graphics.OpenGL4.DebugSeverity* severities_ptr = severities)
fixed (Int32* lengths_ptr = lengths)
{
- return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL4.All*)sources_ptr, (OpenTK.Graphics.OpenGL4.All*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.OpenGL4.All*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog);
+ return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL4.DebugSource*)sources_ptr, (OpenTK.Graphics.OpenGL4.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.OpenGL4.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog);
}
}
#if DEBUG
[System.CLSCompliant(false)]
[AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetDebugMessageLog")]
public static
- Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.OpenGL4.All sources, [OutAttribute] out OpenTK.Graphics.OpenGL4.All types, [OutAttribute] out UInt32 ids, [OutAttribute] out OpenTK.Graphics.OpenGL4.All severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog)
+ Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] out OpenTK.Graphics.OpenGL4.DebugSource sources, [OutAttribute] out OpenTK.Graphics.OpenGL4.DebugType types, [OutAttribute] out UInt32 ids, [OutAttribute] out OpenTK.Graphics.OpenGL4.DebugSeverity severities, [OutAttribute] out Int32 lengths, [OutAttribute] StringBuilder messageLog)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
#endif
unsafe
{
- fixed (OpenTK.Graphics.OpenGL4.All* sources_ptr = &sources)
- fixed (OpenTK.Graphics.OpenGL4.All* types_ptr = &types)
+ fixed (OpenTK.Graphics.OpenGL4.DebugSource* sources_ptr = &sources)
+ fixed (OpenTK.Graphics.OpenGL4.DebugType* types_ptr = &types)
fixed (UInt32* ids_ptr = &ids)
- fixed (OpenTK.Graphics.OpenGL4.All* severities_ptr = &severities)
+ fixed (OpenTK.Graphics.OpenGL4.DebugSeverity* severities_ptr = &severities)
fixed (Int32* lengths_ptr = &lengths)
{
- Int32 retval = Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL4.All*)sources_ptr, (OpenTK.Graphics.OpenGL4.All*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.OpenGL4.All*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog);
+ Int32 retval = Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL4.DebugSource*)sources_ptr, (OpenTK.Graphics.OpenGL4.DebugType*)types_ptr, (UInt32*)ids_ptr, (OpenTK.Graphics.OpenGL4.DebugSeverity*)severities_ptr, (Int32*)lengths_ptr, (StringBuilder)messageLog);
sources = *sources_ptr;
types = *types_ptr;
ids = *ids_ptr;
[System.CLSCompliant(false)]
[AutoGenerated(Category = "KHR_debug|VERSION_4_3", Version = "4.3", EntryPoint = "glGetDebugMessageLog")]
public static
- unsafe Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL4.All* sources, [OutAttribute] OpenTK.Graphics.OpenGL4.All* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL4.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog)
+ unsafe Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugSource* sources, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugType* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
- return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL4.All*)sources, (OpenTK.Graphics.OpenGL4.All*)types, (UInt32*)ids, (OpenTK.Graphics.OpenGL4.All*)severities, (Int32*)lengths, (StringBuilder)messageLog);
+ return Delegates.glGetDebugMessageLog((UInt32)count, (Int32)bufSize, (OpenTK.Graphics.OpenGL4.DebugSource*)sources, (OpenTK.Graphics.OpenGL4.DebugType*)types, (UInt32*)ids, (OpenTK.Graphics.OpenGL4.DebugSeverity*)severities, (Int32*)lengths, (StringBuilder)messageLog);
#if DEBUG
}
#endif
internal extern static unsafe void GetConvolutionParameteriv(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.GetConvolutionParameterPName pname, [OutAttribute] Int32* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetDebugMessageLog", ExactSpelling = true)]
- internal extern static unsafe Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL4.All* sources, [OutAttribute] OpenTK.Graphics.OpenGL4.All* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL4.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog);
+ internal extern static unsafe Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugSource* sources, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugType* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetDebugMessageLogARB", ExactSpelling = true)]
internal extern static unsafe Int32 GetDebugMessageLogARB(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL4.All* sources, [OutAttribute] OpenTK.Graphics.OpenGL4.All* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL4.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog);
internal unsafe delegate void GetConvolutionParameteriv(OpenTK.Graphics.OpenGL4.ConvolutionTarget target, OpenTK.Graphics.OpenGL4.GetConvolutionParameterPName pname, [OutAttribute] Int32* @params);
internal unsafe static GetConvolutionParameteriv glGetConvolutionParameteriv;
[System.Security.SuppressUnmanagedCodeSecurity()]
- internal unsafe delegate Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL4.All* sources, [OutAttribute] OpenTK.Graphics.OpenGL4.All* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL4.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog);
+ internal unsafe delegate Int32 GetDebugMessageLog(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugSource* sources, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugType* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL4.DebugSeverity* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog);
internal unsafe static GetDebugMessageLog glGetDebugMessageLog;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate Int32 GetDebugMessageLogARB(UInt32 count, Int32 bufSize, [OutAttribute] OpenTK.Graphics.OpenGL4.All* sources, [OutAttribute] OpenTK.Graphics.OpenGL4.All* types, [OutAttribute] UInt32* ids, [OutAttribute] OpenTK.Graphics.OpenGL4.All* severities, [OutAttribute] Int32* lengths, [OutAttribute] StringBuilder messageLog);
}
/// <summary>
- /// Used in GL.Arb.BlendEquation, GL.Arb.BlendEquationSeparate and 41 other functions
+ /// Used in GL.Arb.BlendEquation, GL.Arb.BlendEquationSeparate and 40 other functions
/// </summary>
public enum All : int
{
}
/// <summary>
- /// Used in GL.DebugMessageInsert
+ /// Used in GL.DebugMessageInsert, GL.GetDebugMessageLog
/// </summary>
public enum DebugSeverity : int
{
}
/// <summary>
- /// Not used directly.
+ /// Used in GL.GetDebugMessageLog
/// </summary>
public enum DebugSource : int
{
}
/// <summary>
- /// Used in GL.DebugMessageInsert
+ /// Used in GL.DebugMessageInsert, GL.GetDebugMessageLog
/// </summary>
public enum DebugType : int
{