Merge pull request #698 from Frassle/specupdate
Update bindings from OpenGL-Registry
This commit is contained in:
commit
991e36ca4f
15 changed files with 96078 additions and 22245 deletions
File diff suppressed because it is too large
Load diff
|
@ -7,7 +7,7 @@ This is a simple tool to convert Khronos XML to OpenTK XML files.
|
||||||
Converting local files:
|
Converting local files:
|
||||||
Convert.exe --input-files gl.xml --output-file signatures.xml --prefix gl
|
Convert.exe --input-files gl.xml --output-file signatures.xml --prefix gl
|
||||||
Converting latest remote specification:
|
Converting latest remote specification:
|
||||||
Convert.exe --input-files https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/api/gl.xml --output-file signatures.xml --prefix gl
|
Convert.exe --input-files https://raw.githubusercontent.com/KhronosGroup/OpenGL-Registry/master/xml/gl.xml --output-file signatures.xml --prefix gl
|
||||||
|
|
||||||
-p, --prefix Required. (Default: gl) The prefix to remove from parsed functions and constants.
|
-p, --prefix Required. (Default: gl) The prefix to remove from parsed functions and constants.
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -1,4 +1,5 @@
|
||||||
using System;
|
using System;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
namespace OpenTK.Graphics.ES11
|
namespace OpenTK.Graphics.ES11
|
||||||
{
|
{
|
||||||
|
@ -38,4 +39,38 @@ namespace OpenTK.Graphics.ES11
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Defines the signature of a debug callback for
|
||||||
|
/// <see cref="GL.DebugMessageCallback"/>.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="source">The <see cref="DebugSource"/> for this debug message.</param>
|
||||||
|
/// <param name="type">The <see cref="DebugType"/> for this debug message.</param>
|
||||||
|
/// <param name="id">The id of this debug message.</param>
|
||||||
|
/// <param name="severity">The <see cref="DebugSeverity"/> for this debug message.</param>
|
||||||
|
/// <param name="length">The length of this debug message.</param>
|
||||||
|
/// <param name="message">A pointer to a null-terminated ASCII C string, representing the content of this debug message.</param>
|
||||||
|
/// <param name="userParam">A pointer to a user-specified parameter.</param>
|
||||||
|
[UnmanagedFunctionPointer(CallingConvention.Winapi)]
|
||||||
|
public delegate void DebugProc(
|
||||||
|
DebugSource source, DebugType type, int id,
|
||||||
|
DebugSeverity severity, int length, IntPtr message,
|
||||||
|
IntPtr userParam);
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Defines the signature of a debug callback for
|
||||||
|
/// <see cref="GL.Khr.DebugMessageCallback"/>.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="source">The <see cref="DebugSource"/> for this debug message.</param>
|
||||||
|
/// <param name="type">The <see cref="DebugType"/> for this debug message.</param>
|
||||||
|
/// <param name="id">The id of this debug message.</param>
|
||||||
|
/// <param name="severity">The <see cref="DebugSeverity"/> for this debug message.</param>
|
||||||
|
/// <param name="length">The length of this debug message.</param>
|
||||||
|
/// <param name="message">A pointer to a null-terminated ASCII C string, representing the content of this debug message.</param>
|
||||||
|
/// <param name="userParam">A pointer to a user-specified parameter.</param>
|
||||||
|
[UnmanagedFunctionPointer(CallingConvention.Winapi)]
|
||||||
|
public delegate void DebugProcKhr(
|
||||||
|
DebugSource source, DebugType type, int id,
|
||||||
|
DebugSeverity severity, int length, IntPtr message,
|
||||||
|
IntPtr userParam);
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue