Fixed enums for (Get)ObjectLabel

ObjectLabel and GetObjectLabel are part of KHR_debug.
This commit is contained in:
Stefanos A 2013-11-07 09:34:48 +01:00
parent 0598e02140
commit 93b8d4b86e
5 changed files with 111 additions and 42 deletions

View file

@ -5440,7 +5440,12 @@
<param name="types"><type>DebugType</type></param>
<param name="severities"><type>DebugSeverity</type></param>
</function>
<function name="GetObjectLabel">
<param name="identifier"><type>ObjectLabelIdentifier</type></param>
</function>
<function name="ObjectLabel">
<param name="identifier"><type>ObjectLabelIdentifier</type></param>
</function>
</replace>
<add name="gles2" version="3.0">
@ -5980,6 +5985,19 @@
<use token="NUM_SAMPLE_COUNTS" />
<use token="SAMPLES" />
</enum>
<enum name="ObjectLabelIdentifier">
<use token="BUFFER" />
<use token="FRAMEBUFFER" />
<use token="RENDERBUFFER" />
<use token="PROGRAM_PIPELINE" />
<use token="PROGRAM" />
<use token="QUERY" />
<use token="SAMPLER" />
<use token="SHADER" />
<use token="TEXTURE" />
<use token="TRANSFORM_FEEDBACK" />
<use token="VERTEX_ARRAY" />
</enum>
<enum name="PixelFormat">
<use token="ALPHA" />
<use token="RGBA" />

View file

@ -15025,7 +15025,7 @@ namespace OpenTK.Graphics.ES30
/// </param>
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")]
public static
void GetObjectLabel(OpenTK.Graphics.ES30.All identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label)
void GetObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
@ -15035,7 +15035,7 @@ namespace OpenTK.Graphics.ES30
{
fixed (Int32* length_ptr = length)
{
Delegates.glGetObjectLabel((OpenTK.Graphics.ES30.All)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label);
Delegates.glGetObjectLabel((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label);
}
}
#if DEBUG
@ -15074,7 +15074,7 @@ namespace OpenTK.Graphics.ES30
/// </param>
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")]
public static
void GetObjectLabel(OpenTK.Graphics.ES30.All identifier, Int32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label)
void GetObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, Int32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
@ -15084,7 +15084,7 @@ namespace OpenTK.Graphics.ES30
{
fixed (Int32* length_ptr = &length)
{
Delegates.glGetObjectLabel((OpenTK.Graphics.ES30.All)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label);
Delegates.glGetObjectLabel((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label);
length = *length_ptr;
}
}
@ -15125,13 +15125,13 @@ namespace OpenTK.Graphics.ES30
[System.CLSCompliant(false)]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")]
public static
unsafe void GetObjectLabel(OpenTK.Graphics.ES30.All identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label)
unsafe void GetObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetObjectLabel((OpenTK.Graphics.ES30.All)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length, (StringBuilder)label);
Delegates.glGetObjectLabel((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length, (StringBuilder)label);
#if DEBUG
}
#endif
@ -15169,7 +15169,7 @@ namespace OpenTK.Graphics.ES30
[System.CLSCompliant(false)]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")]
public static
void GetObjectLabel(OpenTK.Graphics.ES30.All identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label)
void GetObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
@ -15179,7 +15179,7 @@ namespace OpenTK.Graphics.ES30
{
fixed (Int32* length_ptr = length)
{
Delegates.glGetObjectLabel((OpenTK.Graphics.ES30.All)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label);
Delegates.glGetObjectLabel((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label);
}
}
#if DEBUG
@ -15219,7 +15219,7 @@ namespace OpenTK.Graphics.ES30
[System.CLSCompliant(false)]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")]
public static
void GetObjectLabel(OpenTK.Graphics.ES30.All identifier, UInt32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label)
void GetObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
@ -15229,7 +15229,7 @@ namespace OpenTK.Graphics.ES30
{
fixed (Int32* length_ptr = &length)
{
Delegates.glGetObjectLabel((OpenTK.Graphics.ES30.All)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label);
Delegates.glGetObjectLabel((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label);
length = *length_ptr;
}
}
@ -15270,13 +15270,13 @@ namespace OpenTK.Graphics.ES30
[System.CLSCompliant(false)]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabel")]
public static
unsafe void GetObjectLabel(OpenTK.Graphics.ES30.All identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label)
unsafe void GetObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetObjectLabel((OpenTK.Graphics.ES30.All)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length, (StringBuilder)label);
Delegates.glGetObjectLabel((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length, (StringBuilder)label);
#if DEBUG
}
#endif
@ -22913,13 +22913,13 @@ namespace OpenTK.Graphics.ES30
/// </param>
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectLabel")]
public static
void ObjectLabel(OpenTK.Graphics.ES30.All identifier, Int32 name, Int32 length, String label)
void ObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, Int32 name, Int32 length, String label)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glObjectLabel((OpenTK.Graphics.ES30.All)identifier, (UInt32)name, (Int32)length, (String)label);
Delegates.glObjectLabel((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)length, (String)label);
#if DEBUG
}
#endif
@ -22952,13 +22952,13 @@ namespace OpenTK.Graphics.ES30
[System.CLSCompliant(false)]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectLabel")]
public static
void ObjectLabel(OpenTK.Graphics.ES30.All identifier, UInt32 name, Int32 length, String label)
void ObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, UInt32 name, Int32 length, String label)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glObjectLabel((OpenTK.Graphics.ES30.All)identifier, (UInt32)name, (Int32)length, (String)label);
Delegates.glObjectLabel((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)length, (String)label);
#if DEBUG
}
#endif
@ -46455,7 +46455,7 @@ namespace OpenTK.Graphics.ES30
/// </param>
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")]
public static
void GetObjectLabel(OpenTK.Graphics.ES30.All identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label)
void GetObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
@ -46465,7 +46465,7 @@ namespace OpenTK.Graphics.ES30
{
fixed (Int32* length_ptr = length)
{
Delegates.glGetObjectLabelKHR((OpenTK.Graphics.ES30.All)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label);
Delegates.glGetObjectLabelKHR((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label);
}
}
#if DEBUG
@ -46504,7 +46504,7 @@ namespace OpenTK.Graphics.ES30
/// </param>
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")]
public static
void GetObjectLabel(OpenTK.Graphics.ES30.All identifier, Int32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label)
void GetObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, Int32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
@ -46514,7 +46514,7 @@ namespace OpenTK.Graphics.ES30
{
fixed (Int32* length_ptr = &length)
{
Delegates.glGetObjectLabelKHR((OpenTK.Graphics.ES30.All)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label);
Delegates.glGetObjectLabelKHR((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label);
length = *length_ptr;
}
}
@ -46555,13 +46555,13 @@ namespace OpenTK.Graphics.ES30
[System.CLSCompliant(false)]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")]
public static
unsafe void GetObjectLabel(OpenTK.Graphics.ES30.All identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label)
unsafe void GetObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, Int32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetObjectLabelKHR((OpenTK.Graphics.ES30.All)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length, (StringBuilder)label);
Delegates.glGetObjectLabelKHR((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length, (StringBuilder)label);
#if DEBUG
}
#endif
@ -46599,7 +46599,7 @@ namespace OpenTK.Graphics.ES30
[System.CLSCompliant(false)]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")]
public static
void GetObjectLabel(OpenTK.Graphics.ES30.All identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label)
void GetObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32[] length, [OutAttribute] StringBuilder label)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
@ -46609,7 +46609,7 @@ namespace OpenTK.Graphics.ES30
{
fixed (Int32* length_ptr = length)
{
Delegates.glGetObjectLabelKHR((OpenTK.Graphics.ES30.All)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label);
Delegates.glGetObjectLabelKHR((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label);
}
}
#if DEBUG
@ -46649,7 +46649,7 @@ namespace OpenTK.Graphics.ES30
[System.CLSCompliant(false)]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")]
public static
void GetObjectLabel(OpenTK.Graphics.ES30.All identifier, UInt32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label)
void GetObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] out Int32 length, [OutAttribute] StringBuilder label)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
@ -46659,7 +46659,7 @@ namespace OpenTK.Graphics.ES30
{
fixed (Int32* length_ptr = &length)
{
Delegates.glGetObjectLabelKHR((OpenTK.Graphics.ES30.All)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label);
Delegates.glGetObjectLabelKHR((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length_ptr, (StringBuilder)label);
length = *length_ptr;
}
}
@ -46700,13 +46700,13 @@ namespace OpenTK.Graphics.ES30
[System.CLSCompliant(false)]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glGetObjectLabelKHR")]
public static
unsafe void GetObjectLabel(OpenTK.Graphics.ES30.All identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label)
unsafe void GetObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glGetObjectLabelKHR((OpenTK.Graphics.ES30.All)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length, (StringBuilder)label);
Delegates.glGetObjectLabelKHR((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)bufSize, (Int32*)length, (StringBuilder)label);
#if DEBUG
}
#endif
@ -47601,13 +47601,13 @@ namespace OpenTK.Graphics.ES30
/// </param>
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectLabelKHR")]
public static
void ObjectLabel(OpenTK.Graphics.ES30.All identifier, Int32 name, Int32 length, String label)
void ObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, Int32 name, Int32 length, String label)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glObjectLabelKHR((OpenTK.Graphics.ES30.All)identifier, (UInt32)name, (Int32)length, (String)label);
Delegates.glObjectLabelKHR((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)length, (String)label);
#if DEBUG
}
#endif
@ -47640,13 +47640,13 @@ namespace OpenTK.Graphics.ES30
[System.CLSCompliant(false)]
[AutoGenerated(Category = "KHR_debug", Version = "", EntryPoint = "glObjectLabelKHR")]
public static
void ObjectLabel(OpenTK.Graphics.ES30.All identifier, UInt32 name, Int32 length, String label)
void ObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, UInt32 name, Int32 length, String label)
{
#if DEBUG
using (new ErrorHelper(GraphicsContext.CurrentContext))
{
#endif
Delegates.glObjectLabelKHR((OpenTK.Graphics.ES30.All)identifier, (UInt32)name, (Int32)length, (String)label);
Delegates.glObjectLabelKHR((OpenTK.Graphics.ES30.ObjectLabelIdentifier)identifier, (UInt32)name, (Int32)length, (String)label);
#if DEBUG
}
#endif

View file

@ -621,13 +621,13 @@ namespace OpenTK.Graphics.ES30
internal unsafe delegate void GetnUniformivEXT(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params);
internal unsafe static GetnUniformivEXT glGetnUniformivEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetObjectLabel(OpenTK.Graphics.ES30.All identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label);
internal unsafe delegate void GetObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label);
internal unsafe static GetObjectLabel glGetObjectLabel;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetObjectLabelEXT(OpenTK.Graphics.ES30.All type, UInt32 @object, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label);
internal unsafe static GetObjectLabelEXT glGetObjectLabelEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetObjectLabelKHR(OpenTK.Graphics.ES30.All identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label);
internal unsafe delegate void GetObjectLabelKHR(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label);
internal unsafe static GetObjectLabelKHR glGetObjectLabelKHR;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal unsafe delegate void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label);
@ -864,10 +864,10 @@ namespace OpenTK.Graphics.ES30
internal unsafe delegate void MultiDrawElementsEXT(OpenTK.Graphics.ES30.PrimitiveType mode, Int32* count, OpenTK.Graphics.ES30.DrawElementsType type, IntPtr indices, Int32 primcount);
internal unsafe static MultiDrawElementsEXT glMultiDrawElementsEXT;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void ObjectLabel(OpenTK.Graphics.ES30.All identifier, UInt32 name, Int32 length, String label);
internal delegate void ObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, UInt32 name, Int32 length, String label);
internal static ObjectLabel glObjectLabel;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void ObjectLabelKHR(OpenTK.Graphics.ES30.All identifier, UInt32 name, Int32 length, String label);
internal delegate void ObjectLabelKHR(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, UInt32 name, Int32 length, String label);
internal static ObjectLabelKHR glObjectLabelKHR;
[System.Security.SuppressUnmanagedCodeSecurity()]
internal delegate void ObjectPtrLabel(IntPtr ptr, Int32 length, String label);

View file

@ -385,7 +385,7 @@ namespace OpenTK.Graphics.ES30
}
/// <summary>
/// Used in GL.Amd.GetPerfMonitorCounterData, GL.Amd.GetPerfMonitorCounterInfo and 53 other functions
/// Used in GL.Amd.GetPerfMonitorCounterData, GL.Amd.GetPerfMonitorCounterInfo and 49 other functions
/// </summary>
public enum All : int
{
@ -20348,6 +20348,57 @@ namespace OpenTK.Graphics.ES30
{
}
/// <summary>
/// Used in GL.GetObjectLabel, GL.ObjectLabel and 2 other functions
/// </summary>
public enum ObjectLabelIdentifier : int
{
/// <summary>
/// Original was GL_TEXTURE = 0x1702
/// </summary>
Texture = ((int)0x1702) ,
/// <summary>
/// Original was GL_VERTEX_ARRAY = 0x8074
/// </summary>
VertexArray = ((int)0x8074) ,
/// <summary>
/// Original was GL_BUFFER = 0x82E0
/// </summary>
Buffer = ((int)0x82E0) ,
/// <summary>
/// Original was GL_SHADER = 0x82E1
/// </summary>
Shader = ((int)0x82E1) ,
/// <summary>
/// Original was GL_PROGRAM = 0x82E2
/// </summary>
Program = ((int)0x82E2) ,
/// <summary>
/// Original was GL_QUERY = 0x82E3
/// </summary>
Query = ((int)0x82E3) ,
/// <summary>
/// Original was GL_PROGRAM_PIPELINE = 0x82E4
/// </summary>
ProgramPipeline = ((int)0x82E4) ,
/// <summary>
/// Original was GL_SAMPLER = 0x82E6
/// </summary>
Sampler = ((int)0x82E6) ,
/// <summary>
/// Original was GL_FRAMEBUFFER = 0X8d40
/// </summary>
Framebuffer = ((int)0X8d40) ,
/// <summary>
/// Original was GL_RENDERBUFFER = 0X8d41
/// </summary>
Renderbuffer = ((int)0X8d41) ,
/// <summary>
/// Original was GL_TRANSFORM_FEEDBACK = 0x8E22
/// </summary>
TransformFeedback = ((int)0x8E22) ,
}
/// <summary>
/// Not used directly.
/// </summary>

View file

@ -623,13 +623,13 @@ namespace OpenTK.Graphics.ES30
internal extern static unsafe void GetnUniformivEXT(UInt32 program, Int32 location, Int32 bufSize, [OutAttribute] Int32* @params);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetObjectLabel", ExactSpelling = true)]
internal extern static unsafe void GetObjectLabel(OpenTK.Graphics.ES30.All identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label);
internal extern static unsafe void GetObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetObjectLabelEXT", ExactSpelling = true)]
internal extern static unsafe void GetObjectLabelEXT(OpenTK.Graphics.ES30.All type, UInt32 @object, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetObjectLabelKHR", ExactSpelling = true)]
internal extern static unsafe void GetObjectLabelKHR(OpenTK.Graphics.ES30.All identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label);
internal extern static unsafe void GetObjectLabelKHR(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, UInt32 name, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glGetObjectPtrLabel", ExactSpelling = true)]
internal extern static unsafe void GetObjectPtrLabel(IntPtr ptr, Int32 bufSize, [OutAttribute] Int32* length, [OutAttribute] StringBuilder label);
@ -866,10 +866,10 @@ namespace OpenTK.Graphics.ES30
internal extern static unsafe void MultiDrawElementsEXT(OpenTK.Graphics.ES30.PrimitiveType mode, Int32* count, OpenTK.Graphics.ES30.DrawElementsType type, IntPtr indices, Int32 primcount);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glObjectLabel", ExactSpelling = true)]
internal extern static void ObjectLabel(OpenTK.Graphics.ES30.All identifier, UInt32 name, Int32 length, String label);
internal extern static void ObjectLabel(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, UInt32 name, Int32 length, String label);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glObjectLabelKHR", ExactSpelling = true)]
internal extern static void ObjectLabelKHR(OpenTK.Graphics.ES30.All identifier, UInt32 name, Int32 length, String label);
internal extern static void ObjectLabelKHR(OpenTK.Graphics.ES30.ObjectLabelIdentifier identifier, UInt32 name, Int32 length, String label);
[System.Security.SuppressUnmanagedCodeSecurity()]
[System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glObjectPtrLabel", ExactSpelling = true)]
internal extern static void ObjectPtrLabel(IntPtr ptr, Int32 length, String label);