From 88183770aec1870e2842b934bf44d2732c9398a1 Mon Sep 17 00:00:00 2001 From: "Stefanos A." Date: Wed, 23 Oct 2013 09:31:09 +0200 Subject: [PATCH] Implemented Vertex Arrays accordign to the OpenGL 4.4 specification, section 10. --- .../Bind/Specifications/GL2/gloverrides.xml | 170 ++++-- Source/OpenTK/Graphics/OpenGL/GL.cs | 512 +++++++++--------- Source/OpenTK/Graphics/OpenGL/GLCore.cs | 28 +- Source/OpenTK/Graphics/OpenGL/GLDelegates.cs | 28 +- Source/OpenTK/Graphics/OpenGL/GLEnums.cs | 139 ++++- 5 files changed, 549 insertions(+), 328 deletions(-) diff --git a/Source/Bind/Specifications/GL2/gloverrides.xml b/Source/Bind/Specifications/GL2/gloverrides.xml index 28e047b2..b571deeb 100644 --- a/Source/Bind/Specifications/GL2/gloverrides.xml +++ b/Source/Bind/Specifications/GL2/gloverrides.xml @@ -148,6 +148,14 @@ BufferPointer + + + + + + PrimitiveType + + @@ -409,7 +417,7 @@ - VertexAttribIPointerType + VertexAttribIntegerType @@ -432,6 +440,12 @@ + + + + PrimitiveType + + @@ -449,6 +463,34 @@ + + + 3.2 + + PrimitiveType + + + + + 3.2 + + PrimitiveType + + + + + 3.2 + + PrimitiveType + + + + + 3.2 + + PrimitiveType + + @@ -480,30 +522,6 @@ - - - BeginMode - - - - - - BeginMode - - - - - - BeginMode - - - - - - BeginMode - - - FramebufferTarget @@ -791,7 +809,7 @@ - VertexAttribDPointerType + VertexAttribDoubleType @@ -864,6 +882,24 @@ + + + PrimitiveType + + + DrawElementsType + + + + + + PrimitiveType + + + DrawElementsType + + + AtomicCounterBufferParameter @@ -989,6 +1025,12 @@ + + + PrimitiveType + + + TextureBufferTarget @@ -1025,6 +1067,24 @@ + + + VertexAttribType + + + + + + VertexAttribIntegerType + + + + + + VertexAttribDoubleType + + + @@ -1974,6 +2034,7 @@ + @@ -2743,6 +2804,20 @@ + + + + + + + + + + + + + + @@ -3367,9 +3442,20 @@ + + + + + + + + + + + @@ -3403,16 +3489,30 @@ + + + + + + + + + + + + + + - - - - - - - - - + + + + + + + + + diff --git a/Source/OpenTK/Graphics/OpenGL/GL.cs b/Source/OpenTK/Graphics/OpenGL/GL.cs index 148aa583..2c3c3b26 100644 --- a/Source/OpenTK/Graphics/OpenGL/GL.cs +++ b/Source/OpenTK/Graphics/OpenGL/GL.cs @@ -45345,13 +45345,13 @@ namespace OpenTK.Graphics.OpenGL /// [AutoGenerated(Category = "ARB_draw_indirect", Version = "1.2", EntryPoint = "glDrawArraysIndirect")] public static - void DrawArraysIndirect(OpenTK.Graphics.OpenGL.ArbDrawIndirect mode, IntPtr indirect) + void DrawArraysIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, IntPtr indirect) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDrawArraysIndirect((OpenTK.Graphics.OpenGL.ArbDrawIndirect)mode, (IntPtr)indirect); + Delegates.glDrawArraysIndirect((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)indirect); #if DEBUG } #endif @@ -45373,7 +45373,7 @@ namespace OpenTK.Graphics.OpenGL /// [AutoGenerated(Category = "ARB_draw_indirect", Version = "1.2", EntryPoint = "glDrawArraysIndirect")] public static - void DrawArraysIndirect(OpenTK.Graphics.OpenGL.ArbDrawIndirect mode, [InAttribute, OutAttribute] T1[] indirect) + void DrawArraysIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, [InAttribute, OutAttribute] T1[] indirect) where T1 : struct { #if DEBUG @@ -45383,7 +45383,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); try { - Delegates.glDrawArraysIndirect((OpenTK.Graphics.OpenGL.ArbDrawIndirect)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject()); + Delegates.glDrawArraysIndirect((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject()); } finally { @@ -45410,7 +45410,7 @@ namespace OpenTK.Graphics.OpenGL /// [AutoGenerated(Category = "ARB_draw_indirect", Version = "1.2", EntryPoint = "glDrawArraysIndirect")] public static - void DrawArraysIndirect(OpenTK.Graphics.OpenGL.ArbDrawIndirect mode, [InAttribute, OutAttribute] T1[,] indirect) + void DrawArraysIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, [InAttribute, OutAttribute] T1[,] indirect) where T1 : struct { #if DEBUG @@ -45420,7 +45420,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); try { - Delegates.glDrawArraysIndirect((OpenTK.Graphics.OpenGL.ArbDrawIndirect)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject()); + Delegates.glDrawArraysIndirect((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject()); } finally { @@ -45447,7 +45447,7 @@ namespace OpenTK.Graphics.OpenGL /// [AutoGenerated(Category = "ARB_draw_indirect", Version = "1.2", EntryPoint = "glDrawArraysIndirect")] public static - void DrawArraysIndirect(OpenTK.Graphics.OpenGL.ArbDrawIndirect mode, [InAttribute, OutAttribute] T1[,,] indirect) + void DrawArraysIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, [InAttribute, OutAttribute] T1[,,] indirect) where T1 : struct { #if DEBUG @@ -45457,7 +45457,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); try { - Delegates.glDrawArraysIndirect((OpenTK.Graphics.OpenGL.ArbDrawIndirect)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject()); + Delegates.glDrawArraysIndirect((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject()); } finally { @@ -45484,7 +45484,7 @@ namespace OpenTK.Graphics.OpenGL /// [AutoGenerated(Category = "ARB_draw_indirect", Version = "1.2", EntryPoint = "glDrawArraysIndirect")] public static - void DrawArraysIndirect(OpenTK.Graphics.OpenGL.ArbDrawIndirect mode, [InAttribute, OutAttribute] ref T1 indirect) + void DrawArraysIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, [InAttribute, OutAttribute] ref T1 indirect) where T1 : struct { #if DEBUG @@ -45494,7 +45494,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); try { - Delegates.glDrawArraysIndirect((OpenTK.Graphics.OpenGL.ArbDrawIndirect)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject()); + Delegates.glDrawArraysIndirect((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject()); indirect = (T1)indirect_ptr.Target; } finally @@ -45547,13 +45547,13 @@ namespace OpenTK.Graphics.OpenGL /// [requires: v4.2 and ARB_base_instance] [AutoGenerated(Category = "ARB_base_instance", Version = "4.2", EntryPoint = "glDrawArraysInstancedBaseInstance")] public static - void DrawArraysInstancedBaseInstance(OpenTK.Graphics.OpenGL.ArbBaseInstance mode, Int32 first, Int32 count, Int32 instancecount, Int32 baseinstance) + void DrawArraysInstancedBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count, Int32 instancecount, Int32 baseinstance) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDrawArraysInstancedBaseInstance((OpenTK.Graphics.OpenGL.ArbBaseInstance)mode, (Int32)first, (Int32)count, (Int32)instancecount, (UInt32)baseinstance); + Delegates.glDrawArraysInstancedBaseInstance((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)instancecount, (UInt32)baseinstance); #if DEBUG } #endif @@ -45563,13 +45563,13 @@ namespace OpenTK.Graphics.OpenGL [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_base_instance", Version = "4.2", EntryPoint = "glDrawArraysInstancedBaseInstance")] public static - void DrawArraysInstancedBaseInstance(OpenTK.Graphics.OpenGL.ArbBaseInstance mode, Int32 first, Int32 count, Int32 instancecount, UInt32 baseinstance) + void DrawArraysInstancedBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count, Int32 instancecount, UInt32 baseinstance) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDrawArraysInstancedBaseInstance((OpenTK.Graphics.OpenGL.ArbBaseInstance)mode, (Int32)first, (Int32)count, (Int32)instancecount, (UInt32)baseinstance); + Delegates.glDrawArraysInstancedBaseInstance((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)first, (Int32)count, (Int32)instancecount, (UInt32)baseinstance); #if DEBUG } #endif @@ -45923,7 +45923,7 @@ namespace OpenTK.Graphics.OpenGL } - /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// [requires: v3.2 and ARB_draw_elements_base_vertex] /// Render primitives from array data with a per-element offset /// /// @@ -45951,22 +45951,22 @@ namespace OpenTK.Graphics.OpenGL /// Specifies a constant that should be added to each element of indices when chosing elements from the enabled vertex arrays. /// /// - [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glDrawElementsBaseVertex")] + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "3.2", EntryPoint = "glDrawElementsBaseVertex")] public static - void DrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 basevertex) + void DrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 basevertex) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)basevertex); + Delegates.glDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)basevertex); #if DEBUG } #endif } - /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// [requires: v3.2 and ARB_draw_elements_base_vertex] /// Render primitives from array data with a per-element offset /// /// @@ -45994,9 +45994,9 @@ namespace OpenTK.Graphics.OpenGL /// Specifies a constant that should be added to each element of indices when chosing elements from the enabled vertex arrays. /// /// - [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glDrawElementsBaseVertex")] + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "3.2", EntryPoint = "glDrawElementsBaseVertex")] public static - void DrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 basevertex) + void DrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 basevertex) where T3 : struct { #if DEBUG @@ -46006,7 +46006,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); + Delegates.glDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); } finally { @@ -46018,7 +46018,7 @@ namespace OpenTK.Graphics.OpenGL } - /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// [requires: v3.2 and ARB_draw_elements_base_vertex] /// Render primitives from array data with a per-element offset /// /// @@ -46046,9 +46046,9 @@ namespace OpenTK.Graphics.OpenGL /// Specifies a constant that should be added to each element of indices when chosing elements from the enabled vertex arrays. /// /// - [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glDrawElementsBaseVertex")] + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "3.2", EntryPoint = "glDrawElementsBaseVertex")] public static - void DrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 basevertex) + void DrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 basevertex) where T3 : struct { #if DEBUG @@ -46058,7 +46058,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); + Delegates.glDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); } finally { @@ -46070,7 +46070,7 @@ namespace OpenTK.Graphics.OpenGL } - /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// [requires: v3.2 and ARB_draw_elements_base_vertex] /// Render primitives from array data with a per-element offset /// /// @@ -46098,9 +46098,9 @@ namespace OpenTK.Graphics.OpenGL /// Specifies a constant that should be added to each element of indices when chosing elements from the enabled vertex arrays. /// /// - [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glDrawElementsBaseVertex")] + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "3.2", EntryPoint = "glDrawElementsBaseVertex")] public static - void DrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 basevertex) + void DrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 basevertex) where T3 : struct { #if DEBUG @@ -46110,7 +46110,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); + Delegates.glDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); } finally { @@ -46122,7 +46122,7 @@ namespace OpenTK.Graphics.OpenGL } - /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// [requires: v3.2 and ARB_draw_elements_base_vertex] /// Render primitives from array data with a per-element offset /// /// @@ -46150,9 +46150,9 @@ namespace OpenTK.Graphics.OpenGL /// Specifies a constant that should be added to each element of indices when chosing elements from the enabled vertex arrays. /// /// - [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glDrawElementsBaseVertex")] + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "3.2", EntryPoint = "glDrawElementsBaseVertex")] public static - void DrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 basevertex) + void DrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 basevertex) where T3 : struct { #if DEBUG @@ -46162,7 +46162,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); + Delegates.glDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); indices = (T3)indices_ptr.Target; } finally @@ -46631,13 +46631,13 @@ namespace OpenTK.Graphics.OpenGL /// [requires: v4.2 and ARB_base_instance] [AutoGenerated(Category = "ARB_base_instance", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseInstance")] public static - void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL.ArbBaseInstance mode, Int32 count, OpenTK.Graphics.OpenGL.ArbBaseInstance type, IntPtr indices, Int32 instancecount, Int32 baseinstance) + void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount, Int32 baseinstance) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDrawElementsInstancedBaseInstance((OpenTK.Graphics.OpenGL.ArbBaseInstance)mode, (Int32)count, (OpenTK.Graphics.OpenGL.ArbBaseInstance)type, (IntPtr)indices, (Int32)instancecount, (UInt32)baseinstance); + Delegates.glDrawElementsInstancedBaseInstance((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)instancecount, (UInt32)baseinstance); #if DEBUG } #endif @@ -46647,13 +46647,13 @@ namespace OpenTK.Graphics.OpenGL [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_base_instance", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseInstance")] public static - void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL.ArbBaseInstance mode, Int32 count, OpenTK.Graphics.OpenGL.ArbBaseInstance type, IntPtr indices, Int32 instancecount, UInt32 baseinstance) + void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount, UInt32 baseinstance) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDrawElementsInstancedBaseInstance((OpenTK.Graphics.OpenGL.ArbBaseInstance)mode, (Int32)count, (OpenTK.Graphics.OpenGL.ArbBaseInstance)type, (IntPtr)indices, (Int32)instancecount, (UInt32)baseinstance); + Delegates.glDrawElementsInstancedBaseInstance((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)instancecount, (UInt32)baseinstance); #if DEBUG } #endif @@ -46662,7 +46662,7 @@ namespace OpenTK.Graphics.OpenGL /// [requires: v4.2 and ARB_base_instance] [AutoGenerated(Category = "ARB_base_instance", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseInstance")] public static - void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL.ArbBaseInstance mode, Int32 count, OpenTK.Graphics.OpenGL.ArbBaseInstance type, [InAttribute, OutAttribute] T3[] indices, Int32 instancecount, Int32 baseinstance) + void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 instancecount, Int32 baseinstance) where T3 : struct { #if DEBUG @@ -46672,7 +46672,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawElementsInstancedBaseInstance((OpenTK.Graphics.OpenGL.ArbBaseInstance)mode, (Int32)count, (OpenTK.Graphics.OpenGL.ArbBaseInstance)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (UInt32)baseinstance); + Delegates.glDrawElementsInstancedBaseInstance((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (UInt32)baseinstance); } finally { @@ -46687,7 +46687,7 @@ namespace OpenTK.Graphics.OpenGL [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_base_instance", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseInstance")] public static - void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL.ArbBaseInstance mode, Int32 count, OpenTK.Graphics.OpenGL.ArbBaseInstance type, [InAttribute, OutAttribute] T3[] indices, Int32 instancecount, UInt32 baseinstance) + void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 instancecount, UInt32 baseinstance) where T3 : struct { #if DEBUG @@ -46697,7 +46697,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawElementsInstancedBaseInstance((OpenTK.Graphics.OpenGL.ArbBaseInstance)mode, (Int32)count, (OpenTK.Graphics.OpenGL.ArbBaseInstance)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (UInt32)baseinstance); + Delegates.glDrawElementsInstancedBaseInstance((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (UInt32)baseinstance); } finally { @@ -46711,7 +46711,7 @@ namespace OpenTK.Graphics.OpenGL /// [requires: v4.2 and ARB_base_instance] [AutoGenerated(Category = "ARB_base_instance", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseInstance")] public static - void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL.ArbBaseInstance mode, Int32 count, OpenTK.Graphics.OpenGL.ArbBaseInstance type, [InAttribute, OutAttribute] T3[,] indices, Int32 instancecount, Int32 baseinstance) + void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 instancecount, Int32 baseinstance) where T3 : struct { #if DEBUG @@ -46721,7 +46721,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawElementsInstancedBaseInstance((OpenTK.Graphics.OpenGL.ArbBaseInstance)mode, (Int32)count, (OpenTK.Graphics.OpenGL.ArbBaseInstance)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (UInt32)baseinstance); + Delegates.glDrawElementsInstancedBaseInstance((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (UInt32)baseinstance); } finally { @@ -46736,7 +46736,7 @@ namespace OpenTK.Graphics.OpenGL [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_base_instance", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseInstance")] public static - void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL.ArbBaseInstance mode, Int32 count, OpenTK.Graphics.OpenGL.ArbBaseInstance type, [InAttribute, OutAttribute] T3[,] indices, Int32 instancecount, UInt32 baseinstance) + void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 instancecount, UInt32 baseinstance) where T3 : struct { #if DEBUG @@ -46746,7 +46746,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawElementsInstancedBaseInstance((OpenTK.Graphics.OpenGL.ArbBaseInstance)mode, (Int32)count, (OpenTK.Graphics.OpenGL.ArbBaseInstance)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (UInt32)baseinstance); + Delegates.glDrawElementsInstancedBaseInstance((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (UInt32)baseinstance); } finally { @@ -46760,7 +46760,7 @@ namespace OpenTK.Graphics.OpenGL /// [requires: v4.2 and ARB_base_instance] [AutoGenerated(Category = "ARB_base_instance", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseInstance")] public static - void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL.ArbBaseInstance mode, Int32 count, OpenTK.Graphics.OpenGL.ArbBaseInstance type, [InAttribute, OutAttribute] T3[,,] indices, Int32 instancecount, Int32 baseinstance) + void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 instancecount, Int32 baseinstance) where T3 : struct { #if DEBUG @@ -46770,7 +46770,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawElementsInstancedBaseInstance((OpenTK.Graphics.OpenGL.ArbBaseInstance)mode, (Int32)count, (OpenTK.Graphics.OpenGL.ArbBaseInstance)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (UInt32)baseinstance); + Delegates.glDrawElementsInstancedBaseInstance((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (UInt32)baseinstance); } finally { @@ -46785,7 +46785,7 @@ namespace OpenTK.Graphics.OpenGL [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_base_instance", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseInstance")] public static - void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL.ArbBaseInstance mode, Int32 count, OpenTK.Graphics.OpenGL.ArbBaseInstance type, [InAttribute, OutAttribute] T3[,,] indices, Int32 instancecount, UInt32 baseinstance) + void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 instancecount, UInt32 baseinstance) where T3 : struct { #if DEBUG @@ -46795,7 +46795,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawElementsInstancedBaseInstance((OpenTK.Graphics.OpenGL.ArbBaseInstance)mode, (Int32)count, (OpenTK.Graphics.OpenGL.ArbBaseInstance)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (UInt32)baseinstance); + Delegates.glDrawElementsInstancedBaseInstance((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (UInt32)baseinstance); } finally { @@ -46809,7 +46809,7 @@ namespace OpenTK.Graphics.OpenGL /// [requires: v4.2 and ARB_base_instance] [AutoGenerated(Category = "ARB_base_instance", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseInstance")] public static - void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL.ArbBaseInstance mode, Int32 count, OpenTK.Graphics.OpenGL.ArbBaseInstance type, [InAttribute, OutAttribute] ref T3 indices, Int32 instancecount, Int32 baseinstance) + void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 instancecount, Int32 baseinstance) where T3 : struct { #if DEBUG @@ -46819,7 +46819,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawElementsInstancedBaseInstance((OpenTK.Graphics.OpenGL.ArbBaseInstance)mode, (Int32)count, (OpenTK.Graphics.OpenGL.ArbBaseInstance)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (UInt32)baseinstance); + Delegates.glDrawElementsInstancedBaseInstance((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (UInt32)baseinstance); indices = (T3)indices_ptr.Target; } finally @@ -46835,7 +46835,7 @@ namespace OpenTK.Graphics.OpenGL [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_base_instance", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseInstance")] public static - void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL.ArbBaseInstance mode, Int32 count, OpenTK.Graphics.OpenGL.ArbBaseInstance type, [InAttribute, OutAttribute] ref T3 indices, Int32 instancecount, UInt32 baseinstance) + void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 instancecount, UInt32 baseinstance) where T3 : struct { #if DEBUG @@ -46845,7 +46845,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawElementsInstancedBaseInstance((OpenTK.Graphics.OpenGL.ArbBaseInstance)mode, (Int32)count, (OpenTK.Graphics.OpenGL.ArbBaseInstance)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (UInt32)baseinstance); + Delegates.glDrawElementsInstancedBaseInstance((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (UInt32)baseinstance); indices = (T3)indices_ptr.Target; } finally @@ -46858,7 +46858,7 @@ namespace OpenTK.Graphics.OpenGL } - /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// [requires: v3.2 and ARB_draw_elements_base_vertex] /// Render multiple instances of a set of primitives from array data with a per-element offset /// /// @@ -46891,22 +46891,22 @@ namespace OpenTK.Graphics.OpenGL /// Specifies a constant that should be added to each element of indices when chosing elements from the enabled vertex arrays. /// /// - [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glDrawElementsInstancedBaseVertex")] + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "3.2", EntryPoint = "glDrawElementsInstancedBaseVertex")] public static - void DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount, Int32 basevertex) + void DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount, Int32 basevertex) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDrawElementsInstancedBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)instancecount, (Int32)basevertex); + Delegates.glDrawElementsInstancedBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)instancecount, (Int32)basevertex); #if DEBUG } #endif } - /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// [requires: v3.2 and ARB_draw_elements_base_vertex] /// Render multiple instances of a set of primitives from array data with a per-element offset /// /// @@ -46939,9 +46939,9 @@ namespace OpenTK.Graphics.OpenGL /// Specifies a constant that should be added to each element of indices when chosing elements from the enabled vertex arrays. /// /// - [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glDrawElementsInstancedBaseVertex")] + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "3.2", EntryPoint = "glDrawElementsInstancedBaseVertex")] public static - void DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 instancecount, Int32 basevertex) + void DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 instancecount, Int32 basevertex) where T3 : struct { #if DEBUG @@ -46951,7 +46951,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawElementsInstancedBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex); + Delegates.glDrawElementsInstancedBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex); } finally { @@ -46963,7 +46963,7 @@ namespace OpenTK.Graphics.OpenGL } - /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// [requires: v3.2 and ARB_draw_elements_base_vertex] /// Render multiple instances of a set of primitives from array data with a per-element offset /// /// @@ -46996,9 +46996,9 @@ namespace OpenTK.Graphics.OpenGL /// Specifies a constant that should be added to each element of indices when chosing elements from the enabled vertex arrays. /// /// - [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glDrawElementsInstancedBaseVertex")] + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "3.2", EntryPoint = "glDrawElementsInstancedBaseVertex")] public static - void DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 instancecount, Int32 basevertex) + void DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 instancecount, Int32 basevertex) where T3 : struct { #if DEBUG @@ -47008,7 +47008,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawElementsInstancedBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex); + Delegates.glDrawElementsInstancedBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex); } finally { @@ -47020,7 +47020,7 @@ namespace OpenTK.Graphics.OpenGL } - /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// [requires: v3.2 and ARB_draw_elements_base_vertex] /// Render multiple instances of a set of primitives from array data with a per-element offset /// /// @@ -47053,9 +47053,9 @@ namespace OpenTK.Graphics.OpenGL /// Specifies a constant that should be added to each element of indices when chosing elements from the enabled vertex arrays. /// /// - [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glDrawElementsInstancedBaseVertex")] + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "3.2", EntryPoint = "glDrawElementsInstancedBaseVertex")] public static - void DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 instancecount, Int32 basevertex) + void DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 instancecount, Int32 basevertex) where T3 : struct { #if DEBUG @@ -47065,7 +47065,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawElementsInstancedBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex); + Delegates.glDrawElementsInstancedBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex); } finally { @@ -47077,7 +47077,7 @@ namespace OpenTK.Graphics.OpenGL } - /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// [requires: v3.2 and ARB_draw_elements_base_vertex] /// Render multiple instances of a set of primitives from array data with a per-element offset /// /// @@ -47110,9 +47110,9 @@ namespace OpenTK.Graphics.OpenGL /// Specifies a constant that should be added to each element of indices when chosing elements from the enabled vertex arrays. /// /// - [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glDrawElementsInstancedBaseVertex")] + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "3.2", EntryPoint = "glDrawElementsInstancedBaseVertex")] public static - void DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 instancecount, Int32 basevertex) + void DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 instancecount, Int32 basevertex) where T3 : struct { #if DEBUG @@ -47122,7 +47122,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawElementsInstancedBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex); + Delegates.glDrawElementsInstancedBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex); indices = (T3)indices_ptr.Target; } finally @@ -47137,13 +47137,13 @@ namespace OpenTK.Graphics.OpenGL /// [requires: v4.2 and ARB_base_instance] [AutoGenerated(Category = "ARB_base_instance", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseVertexBaseInstance")] public static - void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL.ArbBaseInstance mode, Int32 count, OpenTK.Graphics.OpenGL.ArbBaseInstance type, IntPtr indices, Int32 instancecount, Int32 basevertex, Int32 baseinstance) + void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount, Int32 basevertex, Int32 baseinstance) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDrawElementsInstancedBaseVertexBaseInstance((OpenTK.Graphics.OpenGL.ArbBaseInstance)mode, (Int32)count, (OpenTK.Graphics.OpenGL.ArbBaseInstance)type, (IntPtr)indices, (Int32)instancecount, (Int32)basevertex, (UInt32)baseinstance); + Delegates.glDrawElementsInstancedBaseVertexBaseInstance((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)instancecount, (Int32)basevertex, (UInt32)baseinstance); #if DEBUG } #endif @@ -47153,13 +47153,13 @@ namespace OpenTK.Graphics.OpenGL [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_base_instance", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseVertexBaseInstance")] public static - void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL.ArbBaseInstance mode, Int32 count, OpenTK.Graphics.OpenGL.ArbBaseInstance type, IntPtr indices, Int32 instancecount, Int32 basevertex, UInt32 baseinstance) + void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount, Int32 basevertex, UInt32 baseinstance) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDrawElementsInstancedBaseVertexBaseInstance((OpenTK.Graphics.OpenGL.ArbBaseInstance)mode, (Int32)count, (OpenTK.Graphics.OpenGL.ArbBaseInstance)type, (IntPtr)indices, (Int32)instancecount, (Int32)basevertex, (UInt32)baseinstance); + Delegates.glDrawElementsInstancedBaseVertexBaseInstance((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)instancecount, (Int32)basevertex, (UInt32)baseinstance); #if DEBUG } #endif @@ -47168,7 +47168,7 @@ namespace OpenTK.Graphics.OpenGL /// [requires: v4.2 and ARB_base_instance] [AutoGenerated(Category = "ARB_base_instance", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseVertexBaseInstance")] public static - void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL.ArbBaseInstance mode, Int32 count, OpenTK.Graphics.OpenGL.ArbBaseInstance type, [InAttribute, OutAttribute] T3[] indices, Int32 instancecount, Int32 basevertex, Int32 baseinstance) + void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 instancecount, Int32 basevertex, Int32 baseinstance) where T3 : struct { #if DEBUG @@ -47178,7 +47178,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawElementsInstancedBaseVertexBaseInstance((OpenTK.Graphics.OpenGL.ArbBaseInstance)mode, (Int32)count, (OpenTK.Graphics.OpenGL.ArbBaseInstance)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex, (UInt32)baseinstance); + Delegates.glDrawElementsInstancedBaseVertexBaseInstance((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex, (UInt32)baseinstance); } finally { @@ -47193,7 +47193,7 @@ namespace OpenTK.Graphics.OpenGL [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_base_instance", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseVertexBaseInstance")] public static - void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL.ArbBaseInstance mode, Int32 count, OpenTK.Graphics.OpenGL.ArbBaseInstance type, [InAttribute, OutAttribute] T3[] indices, Int32 instancecount, Int32 basevertex, UInt32 baseinstance) + void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 instancecount, Int32 basevertex, UInt32 baseinstance) where T3 : struct { #if DEBUG @@ -47203,7 +47203,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawElementsInstancedBaseVertexBaseInstance((OpenTK.Graphics.OpenGL.ArbBaseInstance)mode, (Int32)count, (OpenTK.Graphics.OpenGL.ArbBaseInstance)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex, (UInt32)baseinstance); + Delegates.glDrawElementsInstancedBaseVertexBaseInstance((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex, (UInt32)baseinstance); } finally { @@ -47217,7 +47217,7 @@ namespace OpenTK.Graphics.OpenGL /// [requires: v4.2 and ARB_base_instance] [AutoGenerated(Category = "ARB_base_instance", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseVertexBaseInstance")] public static - void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL.ArbBaseInstance mode, Int32 count, OpenTK.Graphics.OpenGL.ArbBaseInstance type, [InAttribute, OutAttribute] T3[,] indices, Int32 instancecount, Int32 basevertex, Int32 baseinstance) + void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 instancecount, Int32 basevertex, Int32 baseinstance) where T3 : struct { #if DEBUG @@ -47227,7 +47227,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawElementsInstancedBaseVertexBaseInstance((OpenTK.Graphics.OpenGL.ArbBaseInstance)mode, (Int32)count, (OpenTK.Graphics.OpenGL.ArbBaseInstance)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex, (UInt32)baseinstance); + Delegates.glDrawElementsInstancedBaseVertexBaseInstance((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex, (UInt32)baseinstance); } finally { @@ -47242,7 +47242,7 @@ namespace OpenTK.Graphics.OpenGL [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_base_instance", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseVertexBaseInstance")] public static - void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL.ArbBaseInstance mode, Int32 count, OpenTK.Graphics.OpenGL.ArbBaseInstance type, [InAttribute, OutAttribute] T3[,] indices, Int32 instancecount, Int32 basevertex, UInt32 baseinstance) + void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 instancecount, Int32 basevertex, UInt32 baseinstance) where T3 : struct { #if DEBUG @@ -47252,7 +47252,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawElementsInstancedBaseVertexBaseInstance((OpenTK.Graphics.OpenGL.ArbBaseInstance)mode, (Int32)count, (OpenTK.Graphics.OpenGL.ArbBaseInstance)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex, (UInt32)baseinstance); + Delegates.glDrawElementsInstancedBaseVertexBaseInstance((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex, (UInt32)baseinstance); } finally { @@ -47266,7 +47266,7 @@ namespace OpenTK.Graphics.OpenGL /// [requires: v4.2 and ARB_base_instance] [AutoGenerated(Category = "ARB_base_instance", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseVertexBaseInstance")] public static - void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL.ArbBaseInstance mode, Int32 count, OpenTK.Graphics.OpenGL.ArbBaseInstance type, [InAttribute, OutAttribute] T3[,,] indices, Int32 instancecount, Int32 basevertex, Int32 baseinstance) + void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 instancecount, Int32 basevertex, Int32 baseinstance) where T3 : struct { #if DEBUG @@ -47276,7 +47276,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawElementsInstancedBaseVertexBaseInstance((OpenTK.Graphics.OpenGL.ArbBaseInstance)mode, (Int32)count, (OpenTK.Graphics.OpenGL.ArbBaseInstance)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex, (UInt32)baseinstance); + Delegates.glDrawElementsInstancedBaseVertexBaseInstance((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex, (UInt32)baseinstance); } finally { @@ -47291,7 +47291,7 @@ namespace OpenTK.Graphics.OpenGL [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_base_instance", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseVertexBaseInstance")] public static - void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL.ArbBaseInstance mode, Int32 count, OpenTK.Graphics.OpenGL.ArbBaseInstance type, [InAttribute, OutAttribute] T3[,,] indices, Int32 instancecount, Int32 basevertex, UInt32 baseinstance) + void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 instancecount, Int32 basevertex, UInt32 baseinstance) where T3 : struct { #if DEBUG @@ -47301,7 +47301,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawElementsInstancedBaseVertexBaseInstance((OpenTK.Graphics.OpenGL.ArbBaseInstance)mode, (Int32)count, (OpenTK.Graphics.OpenGL.ArbBaseInstance)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex, (UInt32)baseinstance); + Delegates.glDrawElementsInstancedBaseVertexBaseInstance((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex, (UInt32)baseinstance); } finally { @@ -47315,7 +47315,7 @@ namespace OpenTK.Graphics.OpenGL /// [requires: v4.2 and ARB_base_instance] [AutoGenerated(Category = "ARB_base_instance", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseVertexBaseInstance")] public static - void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL.ArbBaseInstance mode, Int32 count, OpenTK.Graphics.OpenGL.ArbBaseInstance type, [InAttribute, OutAttribute] ref T3 indices, Int32 instancecount, Int32 basevertex, Int32 baseinstance) + void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 instancecount, Int32 basevertex, Int32 baseinstance) where T3 : struct { #if DEBUG @@ -47325,7 +47325,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawElementsInstancedBaseVertexBaseInstance((OpenTK.Graphics.OpenGL.ArbBaseInstance)mode, (Int32)count, (OpenTK.Graphics.OpenGL.ArbBaseInstance)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex, (UInt32)baseinstance); + Delegates.glDrawElementsInstancedBaseVertexBaseInstance((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex, (UInt32)baseinstance); indices = (T3)indices_ptr.Target; } finally @@ -47341,7 +47341,7 @@ namespace OpenTK.Graphics.OpenGL [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_base_instance", Version = "4.2", EntryPoint = "glDrawElementsInstancedBaseVertexBaseInstance")] public static - void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL.ArbBaseInstance mode, Int32 count, OpenTK.Graphics.OpenGL.ArbBaseInstance type, [InAttribute, OutAttribute] ref T3 indices, Int32 instancecount, Int32 basevertex, UInt32 baseinstance) + void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 instancecount, Int32 basevertex, UInt32 baseinstance) where T3 : struct { #if DEBUG @@ -47351,7 +47351,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawElementsInstancedBaseVertexBaseInstance((OpenTK.Graphics.OpenGL.ArbBaseInstance)mode, (Int32)count, (OpenTK.Graphics.OpenGL.ArbBaseInstance)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex, (UInt32)baseinstance); + Delegates.glDrawElementsInstancedBaseVertexBaseInstance((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)instancecount, (Int32)basevertex, (UInt32)baseinstance); indices = (T3)indices_ptr.Target; } finally @@ -48150,7 +48150,7 @@ namespace OpenTK.Graphics.OpenGL } - /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// [requires: v3.2 and ARB_draw_elements_base_vertex] /// Render primitives from array data with a per-element offset /// /// @@ -48188,22 +48188,22 @@ namespace OpenTK.Graphics.OpenGL /// Specifies a constant that should be added to each element of indices when chosing elements from the enabled vertex arrays. /// /// - [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glDrawRangeElementsBaseVertex")] + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")] public static - void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 basevertex) + void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 basevertex) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)basevertex); + Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)basevertex); #if DEBUG } #endif } - /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// [requires: v3.2 and ARB_draw_elements_base_vertex] /// Render primitives from array data with a per-element offset /// /// @@ -48241,9 +48241,9 @@ namespace OpenTK.Graphics.OpenGL /// Specifies a constant that should be added to each element of indices when chosing elements from the enabled vertex arrays. /// /// - [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glDrawRangeElementsBaseVertex")] + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")] public static - void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[] indices, Int32 basevertex) + void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[] indices, Int32 basevertex) where T5 : struct { #if DEBUG @@ -48253,7 +48253,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); + Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); } finally { @@ -48265,7 +48265,7 @@ namespace OpenTK.Graphics.OpenGL } - /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// [requires: v3.2 and ARB_draw_elements_base_vertex] /// Render primitives from array data with a per-element offset /// /// @@ -48303,9 +48303,9 @@ namespace OpenTK.Graphics.OpenGL /// Specifies a constant that should be added to each element of indices when chosing elements from the enabled vertex arrays. /// /// - [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glDrawRangeElementsBaseVertex")] + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")] public static - void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,] indices, Int32 basevertex) + void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,] indices, Int32 basevertex) where T5 : struct { #if DEBUG @@ -48315,7 +48315,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); + Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); } finally { @@ -48327,7 +48327,7 @@ namespace OpenTK.Graphics.OpenGL } - /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// [requires: v3.2 and ARB_draw_elements_base_vertex] /// Render primitives from array data with a per-element offset /// /// @@ -48365,9 +48365,9 @@ namespace OpenTK.Graphics.OpenGL /// Specifies a constant that should be added to each element of indices when chosing elements from the enabled vertex arrays. /// /// - [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glDrawRangeElementsBaseVertex")] + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")] public static - void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,,] indices, Int32 basevertex) + void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,,] indices, Int32 basevertex) where T5 : struct { #if DEBUG @@ -48377,7 +48377,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); + Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); } finally { @@ -48389,7 +48389,7 @@ namespace OpenTK.Graphics.OpenGL } - /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// [requires: v3.2 and ARB_draw_elements_base_vertex] /// Render primitives from array data with a per-element offset /// /// @@ -48427,9 +48427,9 @@ namespace OpenTK.Graphics.OpenGL /// Specifies a constant that should be added to each element of indices when chosing elements from the enabled vertex arrays. /// /// - [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glDrawRangeElementsBaseVertex")] + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")] public static - void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T5 indices, Int32 basevertex) + void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 start, Int32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T5 indices, Int32 basevertex) where T5 : struct { #if DEBUG @@ -48439,7 +48439,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); + Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); indices = (T5)indices_ptr.Target; } finally @@ -48452,7 +48452,7 @@ namespace OpenTK.Graphics.OpenGL } - /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// [requires: v3.2 and ARB_draw_elements_base_vertex] /// Render primitives from array data with a per-element offset /// /// @@ -48491,22 +48491,22 @@ namespace OpenTK.Graphics.OpenGL /// /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glDrawRangeElementsBaseVertex")] + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")] public static - void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 basevertex) + void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 basevertex) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)basevertex); + Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)basevertex); #if DEBUG } #endif } - /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// [requires: v3.2 and ARB_draw_elements_base_vertex] /// Render primitives from array data with a per-element offset /// /// @@ -48545,9 +48545,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glDrawRangeElementsBaseVertex")] + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")] public static - void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[] indices, Int32 basevertex) + void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[] indices, Int32 basevertex) where T5 : struct { #if DEBUG @@ -48557,7 +48557,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); + Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); } finally { @@ -48569,7 +48569,7 @@ namespace OpenTK.Graphics.OpenGL } - /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// [requires: v3.2 and ARB_draw_elements_base_vertex] /// Render primitives from array data with a per-element offset /// /// @@ -48608,9 +48608,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glDrawRangeElementsBaseVertex")] + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")] public static - void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,] indices, Int32 basevertex) + void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,] indices, Int32 basevertex) where T5 : struct { #if DEBUG @@ -48620,7 +48620,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); + Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); } finally { @@ -48632,7 +48632,7 @@ namespace OpenTK.Graphics.OpenGL } - /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// [requires: v3.2 and ARB_draw_elements_base_vertex] /// Render primitives from array data with a per-element offset /// /// @@ -48671,9 +48671,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glDrawRangeElementsBaseVertex")] + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")] public static - void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,,] indices, Int32 basevertex) + void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T5[,,] indices, Int32 basevertex) where T5 : struct { #if DEBUG @@ -48683,7 +48683,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); + Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); } finally { @@ -48695,7 +48695,7 @@ namespace OpenTK.Graphics.OpenGL } - /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// [requires: v3.2 and ARB_draw_elements_base_vertex] /// Render primitives from array data with a per-element offset /// /// @@ -48734,9 +48734,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glDrawRangeElementsBaseVertex")] + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "3.2", EntryPoint = "glDrawRangeElementsBaseVertex")] public static - void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T5 indices, Int32 basevertex) + void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T5 indices, Int32 basevertex) where T5 : struct { #if DEBUG @@ -48746,7 +48746,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); + Delegates.glDrawRangeElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (UInt32)start, (UInt32)end, (Int32)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)basevertex); indices = (T5)indices_ptr.Target; } finally @@ -76348,13 +76348,13 @@ namespace OpenTK.Graphics.OpenGL /// [requires: v4.3 and ARB_multi_draw_indirect] [AutoGenerated(Category = "ARB_multi_draw_indirect", Version = "4.3", EntryPoint = "glMultiDrawArraysIndirect")] public static - void MultiDrawArraysIndirect(OpenTK.Graphics.OpenGL.ArbMultiDrawIndirect mode, IntPtr indirect, Int32 drawcount, Int32 stride) + void MultiDrawArraysIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, IntPtr indirect, Int32 drawcount, Int32 stride) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiDrawArraysIndirect((OpenTK.Graphics.OpenGL.ArbMultiDrawIndirect)mode, (IntPtr)indirect, (Int32)drawcount, (Int32)stride); + Delegates.glMultiDrawArraysIndirect((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)indirect, (Int32)drawcount, (Int32)stride); #if DEBUG } #endif @@ -76363,7 +76363,7 @@ namespace OpenTK.Graphics.OpenGL /// [requires: v4.3 and ARB_multi_draw_indirect] [AutoGenerated(Category = "ARB_multi_draw_indirect", Version = "4.3", EntryPoint = "glMultiDrawArraysIndirect")] public static - void MultiDrawArraysIndirect(OpenTK.Graphics.OpenGL.ArbMultiDrawIndirect mode, [InAttribute, OutAttribute] T1[] indirect, Int32 drawcount, Int32 stride) + void MultiDrawArraysIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, [InAttribute, OutAttribute] T1[] indirect, Int32 drawcount, Int32 stride) where T1 : struct { #if DEBUG @@ -76373,7 +76373,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); try { - Delegates.glMultiDrawArraysIndirect((OpenTK.Graphics.OpenGL.ArbMultiDrawIndirect)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32)stride); + Delegates.glMultiDrawArraysIndirect((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32)stride); } finally { @@ -76387,7 +76387,7 @@ namespace OpenTK.Graphics.OpenGL /// [requires: v4.3 and ARB_multi_draw_indirect] [AutoGenerated(Category = "ARB_multi_draw_indirect", Version = "4.3", EntryPoint = "glMultiDrawArraysIndirect")] public static - void MultiDrawArraysIndirect(OpenTK.Graphics.OpenGL.ArbMultiDrawIndirect mode, [InAttribute, OutAttribute] T1[,] indirect, Int32 drawcount, Int32 stride) + void MultiDrawArraysIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, [InAttribute, OutAttribute] T1[,] indirect, Int32 drawcount, Int32 stride) where T1 : struct { #if DEBUG @@ -76397,7 +76397,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); try { - Delegates.glMultiDrawArraysIndirect((OpenTK.Graphics.OpenGL.ArbMultiDrawIndirect)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32)stride); + Delegates.glMultiDrawArraysIndirect((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32)stride); } finally { @@ -76411,7 +76411,7 @@ namespace OpenTK.Graphics.OpenGL /// [requires: v4.3 and ARB_multi_draw_indirect] [AutoGenerated(Category = "ARB_multi_draw_indirect", Version = "4.3", EntryPoint = "glMultiDrawArraysIndirect")] public static - void MultiDrawArraysIndirect(OpenTK.Graphics.OpenGL.ArbMultiDrawIndirect mode, [InAttribute, OutAttribute] T1[,,] indirect, Int32 drawcount, Int32 stride) + void MultiDrawArraysIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, [InAttribute, OutAttribute] T1[,,] indirect, Int32 drawcount, Int32 stride) where T1 : struct { #if DEBUG @@ -76421,7 +76421,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); try { - Delegates.glMultiDrawArraysIndirect((OpenTK.Graphics.OpenGL.ArbMultiDrawIndirect)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32)stride); + Delegates.glMultiDrawArraysIndirect((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32)stride); } finally { @@ -76435,7 +76435,7 @@ namespace OpenTK.Graphics.OpenGL /// [requires: v4.3 and ARB_multi_draw_indirect] [AutoGenerated(Category = "ARB_multi_draw_indirect", Version = "4.3", EntryPoint = "glMultiDrawArraysIndirect")] public static - void MultiDrawArraysIndirect(OpenTK.Graphics.OpenGL.ArbMultiDrawIndirect mode, [InAttribute, OutAttribute] ref T1 indirect, Int32 drawcount, Int32 stride) + void MultiDrawArraysIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, [InAttribute, OutAttribute] ref T1 indirect, Int32 drawcount, Int32 stride) where T1 : struct { #if DEBUG @@ -76445,7 +76445,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle indirect_ptr = GCHandle.Alloc(indirect, GCHandleType.Pinned); try { - Delegates.glMultiDrawArraysIndirect((OpenTK.Graphics.OpenGL.ArbMultiDrawIndirect)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32)stride); + Delegates.glMultiDrawArraysIndirect((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (IntPtr)indirect_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32)stride); indirect = (T1)indirect_ptr.Target; } finally @@ -77279,7 +77279,7 @@ namespace OpenTK.Graphics.OpenGL } - /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// [requires: v3.2 and ARB_draw_elements_base_vertex] /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index /// /// @@ -77312,9 +77312,9 @@ namespace OpenTK.Graphics.OpenGL /// Specifies a pointer to the location where the base vertices are stored. /// /// - [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] public static - void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 drawcount, Int32[] basevertex) + void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 drawcount, Int32[] basevertex) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -77325,7 +77325,7 @@ namespace OpenTK.Graphics.OpenGL fixed (Int32* count_ptr = count) fixed (Int32* basevertex_ptr = basevertex) { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)drawcount, (Int32*)basevertex_ptr); + Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)drawcount, (Int32*)basevertex_ptr); } } #if DEBUG @@ -77334,7 +77334,7 @@ namespace OpenTK.Graphics.OpenGL } - /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// [requires: v3.2 and ARB_draw_elements_base_vertex] /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index /// /// @@ -77367,9 +77367,9 @@ namespace OpenTK.Graphics.OpenGL /// Specifies a pointer to the location where the base vertices are stored. /// /// - [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] public static - void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 drawcount, Int32[] basevertex) + void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 drawcount, Int32[] basevertex) where T3 : struct { #if DEBUG @@ -77384,7 +77384,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32*)basevertex_ptr); + Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32*)basevertex_ptr); } finally { @@ -77398,7 +77398,7 @@ namespace OpenTK.Graphics.OpenGL } - /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// [requires: v3.2 and ARB_draw_elements_base_vertex] /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index /// /// @@ -77431,9 +77431,9 @@ namespace OpenTK.Graphics.OpenGL /// Specifies a pointer to the location where the base vertices are stored. /// /// - [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] public static - void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 drawcount, Int32[] basevertex) + void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 drawcount, Int32[] basevertex) where T3 : struct { #if DEBUG @@ -77448,7 +77448,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32*)basevertex_ptr); + Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32*)basevertex_ptr); } finally { @@ -77462,7 +77462,7 @@ namespace OpenTK.Graphics.OpenGL } - /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// [requires: v3.2 and ARB_draw_elements_base_vertex] /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index /// /// @@ -77495,9 +77495,9 @@ namespace OpenTK.Graphics.OpenGL /// Specifies a pointer to the location where the base vertices are stored. /// /// - [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] public static - void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 drawcount, Int32[] basevertex) + void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 drawcount, Int32[] basevertex) where T3 : struct { #if DEBUG @@ -77512,7 +77512,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32*)basevertex_ptr); + Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32*)basevertex_ptr); } finally { @@ -77526,7 +77526,7 @@ namespace OpenTK.Graphics.OpenGL } - /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// [requires: v3.2 and ARB_draw_elements_base_vertex] /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index /// /// @@ -77559,9 +77559,9 @@ namespace OpenTK.Graphics.OpenGL /// Specifies a pointer to the location where the base vertices are stored. /// /// - [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] public static - void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 drawcount, Int32[] basevertex) + void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32[] count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 drawcount, Int32[] basevertex) where T3 : struct { #if DEBUG @@ -77576,7 +77576,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32*)basevertex_ptr); + Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32*)basevertex_ptr); indices = (T3)indices_ptr.Target; } finally @@ -77591,7 +77591,7 @@ namespace OpenTK.Graphics.OpenGL } - /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// [requires: v3.2 and ARB_draw_elements_base_vertex] /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index /// /// @@ -77624,9 +77624,9 @@ namespace OpenTK.Graphics.OpenGL /// Specifies a pointer to the location where the base vertices are stored. /// /// - [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] public static - void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 drawcount, ref Int32 basevertex) + void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 drawcount, ref Int32 basevertex) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) @@ -77637,7 +77637,7 @@ namespace OpenTK.Graphics.OpenGL fixed (Int32* count_ptr = &count) fixed (Int32* basevertex_ptr = &basevertex) { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)drawcount, (Int32*)basevertex_ptr); + Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)drawcount, (Int32*)basevertex_ptr); } } #if DEBUG @@ -77646,7 +77646,7 @@ namespace OpenTK.Graphics.OpenGL } - /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// [requires: v3.2 and ARB_draw_elements_base_vertex] /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index /// /// @@ -77679,9 +77679,9 @@ namespace OpenTK.Graphics.OpenGL /// Specifies a pointer to the location where the base vertices are stored. /// /// - [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] public static - void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 drawcount, ref Int32 basevertex) + void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 drawcount, ref Int32 basevertex) where T3 : struct { #if DEBUG @@ -77696,7 +77696,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32*)basevertex_ptr); + Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32*)basevertex_ptr); } finally { @@ -77710,7 +77710,7 @@ namespace OpenTK.Graphics.OpenGL } - /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// [requires: v3.2 and ARB_draw_elements_base_vertex] /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index /// /// @@ -77743,9 +77743,9 @@ namespace OpenTK.Graphics.OpenGL /// Specifies a pointer to the location where the base vertices are stored. /// /// - [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] public static - void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 drawcount, ref Int32 basevertex) + void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 drawcount, ref Int32 basevertex) where T3 : struct { #if DEBUG @@ -77760,7 +77760,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32*)basevertex_ptr); + Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32*)basevertex_ptr); } finally { @@ -77774,7 +77774,7 @@ namespace OpenTK.Graphics.OpenGL } - /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// [requires: v3.2 and ARB_draw_elements_base_vertex] /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index /// /// @@ -77807,9 +77807,9 @@ namespace OpenTK.Graphics.OpenGL /// Specifies a pointer to the location where the base vertices are stored. /// /// - [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] public static - void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 drawcount, ref Int32 basevertex) + void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 drawcount, ref Int32 basevertex) where T3 : struct { #if DEBUG @@ -77824,7 +77824,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32*)basevertex_ptr); + Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32*)basevertex_ptr); } finally { @@ -77838,7 +77838,7 @@ namespace OpenTK.Graphics.OpenGL } - /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// [requires: v3.2 and ARB_draw_elements_base_vertex] /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index /// /// @@ -77871,9 +77871,9 @@ namespace OpenTK.Graphics.OpenGL /// Specifies a pointer to the location where the base vertices are stored. /// /// - [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] public static - void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 drawcount, ref Int32 basevertex) + void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, ref Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 drawcount, ref Int32 basevertex) where T3 : struct { #if DEBUG @@ -77888,7 +77888,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32*)basevertex_ptr); + Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count_ptr, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32*)basevertex_ptr); indices = (T3)indices_ptr.Target; } finally @@ -77903,7 +77903,7 @@ namespace OpenTK.Graphics.OpenGL } - /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// [requires: v3.2 and ARB_draw_elements_base_vertex] /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index /// /// @@ -77937,22 +77937,22 @@ namespace OpenTK.Graphics.OpenGL /// /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] public static - unsafe void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 drawcount, Int32* basevertex) + unsafe void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 drawcount, Int32* basevertex) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)drawcount, (Int32*)basevertex); + Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices, (Int32)drawcount, (Int32*)basevertex); #if DEBUG } #endif } - /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// [requires: v3.2 and ARB_draw_elements_base_vertex] /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index /// /// @@ -77986,9 +77986,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] public static - unsafe void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 drawcount, Int32* basevertex) + unsafe void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[] indices, Int32 drawcount, Int32* basevertex) where T3 : struct { #if DEBUG @@ -77998,7 +77998,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32*)basevertex); + Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32*)basevertex); } finally { @@ -78010,7 +78010,7 @@ namespace OpenTK.Graphics.OpenGL } - /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// [requires: v3.2 and ARB_draw_elements_base_vertex] /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index /// /// @@ -78044,9 +78044,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] public static - unsafe void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 drawcount, Int32* basevertex) + unsafe void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,] indices, Int32 drawcount, Int32* basevertex) where T3 : struct { #if DEBUG @@ -78056,7 +78056,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32*)basevertex); + Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32*)basevertex); } finally { @@ -78068,7 +78068,7 @@ namespace OpenTK.Graphics.OpenGL } - /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// [requires: v3.2 and ARB_draw_elements_base_vertex] /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index /// /// @@ -78102,9 +78102,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] public static - unsafe void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 drawcount, Int32* basevertex) + unsafe void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] T3[,,] indices, Int32 drawcount, Int32* basevertex) where T3 : struct { #if DEBUG @@ -78114,7 +78114,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32*)basevertex); + Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32*)basevertex); } finally { @@ -78126,7 +78126,7 @@ namespace OpenTK.Graphics.OpenGL } - /// [requires: v1.2 and ARB_draw_elements_base_vertex] + /// [requires: v3.2 and ARB_draw_elements_base_vertex] /// Render multiple sets of primitives by specifying indices of array data elements and an index to apply to each index /// /// @@ -78160,9 +78160,9 @@ namespace OpenTK.Graphics.OpenGL /// /// [System.CLSCompliant(false)] - [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "1.2", EntryPoint = "glMultiDrawElementsBaseVertex")] + [AutoGenerated(Category = "ARB_draw_elements_base_vertex", Version = "3.2", EntryPoint = "glMultiDrawElementsBaseVertex")] public static - unsafe void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 drawcount, Int32* basevertex) + unsafe void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, [InAttribute, OutAttribute] ref T3 indices, Int32 drawcount, Int32* basevertex) where T3 : struct { #if DEBUG @@ -78172,7 +78172,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle indices_ptr = GCHandle.Alloc(indices, GCHandleType.Pinned); try { - Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.BeginMode)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32*)basevertex); + Delegates.glMultiDrawElementsBaseVertex((OpenTK.Graphics.OpenGL.PrimitiveType)mode, (Int32*)count, (OpenTK.Graphics.OpenGL.DrawElementsType)type, (IntPtr)indices_ptr.AddrOfPinnedObject(), (Int32)drawcount, (Int32*)basevertex); indices = (T3)indices_ptr.Target; } finally @@ -111931,13 +111931,13 @@ namespace OpenTK.Graphics.OpenGL /// [requires: v4.3 and ARB_vertex_attrib_binding] [AutoGenerated(Category = "ARB_vertex_attrib_binding", Version = "4.3", EntryPoint = "glVertexAttribFormat")] public static - void VertexAttribFormat(Int32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.ArbVertexAttribBinding type, bool normalized, Int32 relativeoffset) + void VertexAttribFormat(Int32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribType type, bool normalized, Int32 relativeoffset) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttribFormat((UInt32)attribindex, (Int32)size, (OpenTK.Graphics.OpenGL.ArbVertexAttribBinding)type, (bool)normalized, (UInt32)relativeoffset); + Delegates.glVertexAttribFormat((UInt32)attribindex, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribType)type, (bool)normalized, (UInt32)relativeoffset); #if DEBUG } #endif @@ -111947,13 +111947,13 @@ namespace OpenTK.Graphics.OpenGL [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_binding", Version = "4.3", EntryPoint = "glVertexAttribFormat")] public static - void VertexAttribFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.ArbVertexAttribBinding type, bool normalized, UInt32 relativeoffset) + void VertexAttribFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribType type, bool normalized, UInt32 relativeoffset) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttribFormat((UInt32)attribindex, (Int32)size, (OpenTK.Graphics.OpenGL.ArbVertexAttribBinding)type, (bool)normalized, (UInt32)relativeoffset); + Delegates.glVertexAttribFormat((UInt32)attribindex, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribType)type, (bool)normalized, (UInt32)relativeoffset); #if DEBUG } #endif @@ -113088,13 +113088,13 @@ namespace OpenTK.Graphics.OpenGL /// [requires: v4.3 and ARB_vertex_attrib_binding] [AutoGenerated(Category = "ARB_vertex_attrib_binding", Version = "4.3", EntryPoint = "glVertexAttribIFormat")] public static - void VertexAttribIFormat(Int32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.ArbVertexAttribBinding type, Int32 relativeoffset) + void VertexAttribIFormat(Int32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIntegerType type, Int32 relativeoffset) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttribIFormat((UInt32)attribindex, (Int32)size, (OpenTK.Graphics.OpenGL.ArbVertexAttribBinding)type, (UInt32)relativeoffset); + Delegates.glVertexAttribIFormat((UInt32)attribindex, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIntegerType)type, (UInt32)relativeoffset); #if DEBUG } #endif @@ -113104,13 +113104,13 @@ namespace OpenTK.Graphics.OpenGL [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_binding", Version = "4.3", EntryPoint = "glVertexAttribIFormat")] public static - void VertexAttribIFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.ArbVertexAttribBinding type, UInt32 relativeoffset) + void VertexAttribIFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIntegerType type, UInt32 relativeoffset) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttribIFormat((UInt32)attribindex, (Int32)size, (OpenTK.Graphics.OpenGL.ArbVertexAttribBinding)type, (UInt32)relativeoffset); + Delegates.glVertexAttribIFormat((UInt32)attribindex, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIntegerType)type, (UInt32)relativeoffset); #if DEBUG } #endif @@ -113119,13 +113119,13 @@ namespace OpenTK.Graphics.OpenGL /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIPointerType type, Int32 stride, IntPtr pointer) + void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIntegerType type, Int32 stride, IntPtr pointer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIPointerType)type, (Int32)stride, (IntPtr)pointer); + Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer); #if DEBUG } #endif @@ -113134,7 +113134,7 @@ namespace OpenTK.Graphics.OpenGL /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIPointerType type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) + void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIntegerType type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) where T4 : struct { #if DEBUG @@ -113144,7 +113144,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -113158,7 +113158,7 @@ namespace OpenTK.Graphics.OpenGL /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIPointerType type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) + void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIntegerType type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) where T4 : struct { #if DEBUG @@ -113168,7 +113168,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -113182,7 +113182,7 @@ namespace OpenTK.Graphics.OpenGL /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIPointerType type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) + void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIntegerType type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) where T4 : struct { #if DEBUG @@ -113192,7 +113192,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -113206,7 +113206,7 @@ namespace OpenTK.Graphics.OpenGL /// [requires: v3.0] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] public static - void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) + void VertexAttribIPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIntegerType type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) where T4 : struct { #if DEBUG @@ -113216,7 +113216,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); pointer = (T4)pointer_ptr.Target; } finally @@ -113232,13 +113232,13 @@ namespace OpenTK.Graphics.OpenGL [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIPointerType type, Int32 stride, IntPtr pointer) + void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIntegerType type, Int32 stride, IntPtr pointer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIPointerType)type, (Int32)stride, (IntPtr)pointer); + Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer); #if DEBUG } #endif @@ -113248,7 +113248,7 @@ namespace OpenTK.Graphics.OpenGL [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIPointerType type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) + void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIntegerType type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) where T4 : struct { #if DEBUG @@ -113258,7 +113258,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -113273,7 +113273,7 @@ namespace OpenTK.Graphics.OpenGL [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIPointerType type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) + void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIntegerType type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) where T4 : struct { #if DEBUG @@ -113283,7 +113283,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -113298,7 +113298,7 @@ namespace OpenTK.Graphics.OpenGL [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIPointerType type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) + void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIntegerType type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) where T4 : struct { #if DEBUG @@ -113308,7 +113308,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -113323,7 +113323,7 @@ namespace OpenTK.Graphics.OpenGL [System.CLSCompliant(false)] [AutoGenerated(Category = "VERSION_3_0", Version = "3.0", EntryPoint = "glVertexAttribIPointer")] public static - void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) + void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIntegerType type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) where T4 : struct { #if DEBUG @@ -113333,7 +113333,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glVertexAttribIPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribIntegerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); pointer = (T4)pointer_ptr.Target; } finally @@ -113858,13 +113858,13 @@ namespace OpenTK.Graphics.OpenGL /// [requires: v4.3 and ARB_vertex_attrib_binding] [AutoGenerated(Category = "ARB_vertex_attrib_binding", Version = "4.3", EntryPoint = "glVertexAttribLFormat")] public static - void VertexAttribLFormat(Int32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.ArbVertexAttribBinding type, Int32 relativeoffset) + void VertexAttribLFormat(Int32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDoubleType type, Int32 relativeoffset) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttribLFormat((UInt32)attribindex, (Int32)size, (OpenTK.Graphics.OpenGL.ArbVertexAttribBinding)type, (UInt32)relativeoffset); + Delegates.glVertexAttribLFormat((UInt32)attribindex, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribDoubleType)type, (UInt32)relativeoffset); #if DEBUG } #endif @@ -113874,13 +113874,13 @@ namespace OpenTK.Graphics.OpenGL [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_binding", Version = "4.3", EntryPoint = "glVertexAttribLFormat")] public static - void VertexAttribLFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.ArbVertexAttribBinding type, UInt32 relativeoffset) + void VertexAttribLFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDoubleType type, UInt32 relativeoffset) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttribLFormat((UInt32)attribindex, (Int32)size, (OpenTK.Graphics.OpenGL.ArbVertexAttribBinding)type, (UInt32)relativeoffset); + Delegates.glVertexAttribLFormat((UInt32)attribindex, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribDoubleType)type, (UInt32)relativeoffset); #if DEBUG } #endif @@ -113889,13 +113889,13 @@ namespace OpenTK.Graphics.OpenGL /// [requires: v4.1 and ARB_vertex_attrib_64bit] [AutoGenerated(Category = "ARB_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribLPointer")] public static - void VertexAttribLPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDPointerType type, Int32 stride, IntPtr pointer) + void VertexAttribLPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDoubleType type, Int32 stride, IntPtr pointer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttribLPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribDPointerType)type, (Int32)stride, (IntPtr)pointer); + Delegates.glVertexAttribLPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribDoubleType)type, (Int32)stride, (IntPtr)pointer); #if DEBUG } #endif @@ -113904,7 +113904,7 @@ namespace OpenTK.Graphics.OpenGL /// [requires: v4.1 and ARB_vertex_attrib_64bit] [AutoGenerated(Category = "ARB_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribLPointer")] public static - void VertexAttribLPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDPointerType type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) + void VertexAttribLPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDoubleType type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) where T4 : struct { #if DEBUG @@ -113914,7 +113914,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexAttribLPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribDPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glVertexAttribLPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribDoubleType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -113928,7 +113928,7 @@ namespace OpenTK.Graphics.OpenGL /// [requires: v4.1 and ARB_vertex_attrib_64bit] [AutoGenerated(Category = "ARB_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribLPointer")] public static - void VertexAttribLPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDPointerType type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) + void VertexAttribLPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDoubleType type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) where T4 : struct { #if DEBUG @@ -113938,7 +113938,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexAttribLPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribDPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glVertexAttribLPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribDoubleType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -113952,7 +113952,7 @@ namespace OpenTK.Graphics.OpenGL /// [requires: v4.1 and ARB_vertex_attrib_64bit] [AutoGenerated(Category = "ARB_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribLPointer")] public static - void VertexAttribLPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDPointerType type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) + void VertexAttribLPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDoubleType type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) where T4 : struct { #if DEBUG @@ -113962,7 +113962,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexAttribLPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribDPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glVertexAttribLPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribDoubleType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -113976,7 +113976,7 @@ namespace OpenTK.Graphics.OpenGL /// [requires: v4.1 and ARB_vertex_attrib_64bit] [AutoGenerated(Category = "ARB_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribLPointer")] public static - void VertexAttribLPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) + void VertexAttribLPointer(Int32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDoubleType type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) where T4 : struct { #if DEBUG @@ -113986,7 +113986,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexAttribLPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribDPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glVertexAttribLPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribDoubleType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); pointer = (T4)pointer_ptr.Target; } finally @@ -114002,13 +114002,13 @@ namespace OpenTK.Graphics.OpenGL [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribLPointer")] public static - void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDPointerType type, Int32 stride, IntPtr pointer) + void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDoubleType type, Int32 stride, IntPtr pointer) { #if DEBUG using (new ErrorHelper(GraphicsContext.CurrentContext)) { #endif - Delegates.glVertexAttribLPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribDPointerType)type, (Int32)stride, (IntPtr)pointer); + Delegates.glVertexAttribLPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribDoubleType)type, (Int32)stride, (IntPtr)pointer); #if DEBUG } #endif @@ -114018,7 +114018,7 @@ namespace OpenTK.Graphics.OpenGL [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribLPointer")] public static - void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDPointerType type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) + void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDoubleType type, Int32 stride, [InAttribute, OutAttribute] T4[] pointer) where T4 : struct { #if DEBUG @@ -114028,7 +114028,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexAttribLPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribDPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glVertexAttribLPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribDoubleType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -114043,7 +114043,7 @@ namespace OpenTK.Graphics.OpenGL [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribLPointer")] public static - void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDPointerType type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) + void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDoubleType type, Int32 stride, [InAttribute, OutAttribute] T4[,] pointer) where T4 : struct { #if DEBUG @@ -114053,7 +114053,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexAttribLPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribDPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glVertexAttribLPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribDoubleType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -114068,7 +114068,7 @@ namespace OpenTK.Graphics.OpenGL [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribLPointer")] public static - void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDPointerType type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) + void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDoubleType type, Int32 stride, [InAttribute, OutAttribute] T4[,,] pointer) where T4 : struct { #if DEBUG @@ -114078,7 +114078,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexAttribLPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribDPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glVertexAttribLPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribDoubleType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); } finally { @@ -114093,7 +114093,7 @@ namespace OpenTK.Graphics.OpenGL [System.CLSCompliant(false)] [AutoGenerated(Category = "ARB_vertex_attrib_64bit", Version = "4.1", EntryPoint = "glVertexAttribLPointer")] public static - void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDPointerType type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) + void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDoubleType type, Int32 stride, [InAttribute, OutAttribute] ref T4 pointer) where T4 : struct { #if DEBUG @@ -114103,7 +114103,7 @@ namespace OpenTK.Graphics.OpenGL GCHandle pointer_ptr = GCHandle.Alloc(pointer, GCHandleType.Pinned); try { - Delegates.glVertexAttribLPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribDPointerType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); + Delegates.glVertexAttribLPointer((UInt32)index, (Int32)size, (OpenTK.Graphics.OpenGL.VertexAttribDoubleType)type, (Int32)stride, (IntPtr)pointer_ptr.AddrOfPinnedObject()); pointer = (T4)pointer_ptr.Target; } finally diff --git a/Source/OpenTK/Graphics/OpenGL/GLCore.cs b/Source/OpenTK/Graphics/OpenGL/GLCore.cs index 854b1688..e3382e3c 100644 --- a/Source/OpenTK/Graphics/OpenGL/GLCore.cs +++ b/Source/OpenTK/Graphics/OpenGL/GLCore.cs @@ -1247,7 +1247,7 @@ namespace OpenTK.Graphics.OpenGL internal extern static void DrawArraysEXT(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawArraysIndirect", ExactSpelling = true)] - internal extern static void DrawArraysIndirect(OpenTK.Graphics.OpenGL.ArbDrawIndirect mode, IntPtr indirect); + internal extern static void DrawArraysIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, IntPtr indirect); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawArraysInstanced", ExactSpelling = true)] internal extern static void DrawArraysInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count, Int32 instancecount); @@ -1256,7 +1256,7 @@ namespace OpenTK.Graphics.OpenGL internal extern static void DrawArraysInstancedARB(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count, Int32 primcount); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawArraysInstancedBaseInstance", ExactSpelling = true)] - internal extern static void DrawArraysInstancedBaseInstance(OpenTK.Graphics.OpenGL.ArbBaseInstance mode, Int32 first, Int32 count, Int32 instancecount, UInt32 baseinstance); + internal extern static void DrawArraysInstancedBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count, Int32 instancecount, UInt32 baseinstance); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawArraysInstancedEXT", ExactSpelling = true)] internal extern static void DrawArraysInstancedEXT(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 start, Int32 count, Int32 primcount); @@ -1283,7 +1283,7 @@ namespace OpenTK.Graphics.OpenGL internal extern static void DrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementsBaseVertex", ExactSpelling = true)] - internal extern static void DrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 basevertex); + internal extern static void DrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 basevertex); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementsIndirect", ExactSpelling = true)] internal extern static void DrawElementsIndirect(OpenTK.Graphics.OpenGL.ArbDrawIndirect mode, OpenTK.Graphics.OpenGL.ArbDrawIndirect type, IntPtr indirect); @@ -1295,13 +1295,13 @@ namespace OpenTK.Graphics.OpenGL internal extern static void DrawElementsInstancedARB(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementsInstancedBaseInstance", ExactSpelling = true)] - internal extern static void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL.ArbBaseInstance mode, Int32 count, OpenTK.Graphics.OpenGL.ArbBaseInstance type, IntPtr indices, Int32 instancecount, UInt32 baseinstance); + internal extern static void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount, UInt32 baseinstance); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementsInstancedBaseVertex", ExactSpelling = true)] - internal extern static void DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount, Int32 basevertex); + internal extern static void DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount, Int32 basevertex); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementsInstancedBaseVertexBaseInstance", ExactSpelling = true)] - internal extern static void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL.ArbBaseInstance mode, Int32 count, OpenTK.Graphics.OpenGL.ArbBaseInstance type, IntPtr indices, Int32 instancecount, Int32 basevertex, UInt32 baseinstance); + internal extern static void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount, Int32 basevertex, UInt32 baseinstance); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawElementsInstancedEXT", ExactSpelling = true)] internal extern static void DrawElementsInstancedEXT(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount); @@ -1322,7 +1322,7 @@ namespace OpenTK.Graphics.OpenGL internal extern static void DrawRangeElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawRangeElementsBaseVertex", ExactSpelling = true)] - internal extern static void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 basevertex); + internal extern static void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 basevertex); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glDrawRangeElementsEXT", ExactSpelling = true)] internal extern static void DrawRangeElementsEXT(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices); @@ -3548,7 +3548,7 @@ namespace OpenTK.Graphics.OpenGL internal extern static unsafe void MultiDrawArraysEXT(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* first, Int32* count, Int32 primcount); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawArraysIndirect", ExactSpelling = true)] - internal extern static void MultiDrawArraysIndirect(OpenTK.Graphics.OpenGL.ArbMultiDrawIndirect mode, IntPtr indirect, Int32 drawcount, Int32 stride); + internal extern static void MultiDrawArraysIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, IntPtr indirect, Int32 drawcount, Int32 stride); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawArraysIndirectAMD", ExactSpelling = true)] internal extern static void MultiDrawArraysIndirectAMD(OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect mode, IntPtr indirect, Int32 primcount, Int32 stride); @@ -3560,7 +3560,7 @@ namespace OpenTK.Graphics.OpenGL internal extern static unsafe void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 drawcount); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawElementsBaseVertex", ExactSpelling = true)] - internal extern static unsafe void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 drawcount, Int32* basevertex); + internal extern static unsafe void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 drawcount, Int32* basevertex); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glMultiDrawElementsEXT", ExactSpelling = true)] internal extern static unsafe void MultiDrawElementsEXT(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount); @@ -6998,7 +6998,7 @@ namespace OpenTK.Graphics.OpenGL internal extern static void VertexAttribDivisorARB(UInt32 index, UInt32 divisor); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribFormat", ExactSpelling = true)] - internal extern static void VertexAttribFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.ArbVertexAttribBinding type, bool normalized, UInt32 relativeoffset); + internal extern static void VertexAttribFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribType type, bool normalized, UInt32 relativeoffset); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribFormatNV", ExactSpelling = true)] internal extern static void VertexAttribFormatNV(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, bool normalized, Int32 stride); @@ -7124,13 +7124,13 @@ namespace OpenTK.Graphics.OpenGL internal extern static unsafe void VertexAttribI4usvEXT(UInt32 index, UInt16* v); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribIFormat", ExactSpelling = true)] - internal extern static void VertexAttribIFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.ArbVertexAttribBinding type, UInt32 relativeoffset); + internal extern static void VertexAttribIFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIntegerType type, UInt32 relativeoffset); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribIFormatNV", ExactSpelling = true)] internal extern static void VertexAttribIFormatNV(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribIPointer", ExactSpelling = true)] - internal extern static void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIPointerType type, Int32 stride, IntPtr pointer); + internal extern static void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIntegerType type, Int32 stride, IntPtr pointer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribIPointerEXT", ExactSpelling = true)] internal extern static void VertexAttribIPointerEXT(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexProgram4 type, Int32 stride, IntPtr pointer); @@ -7232,13 +7232,13 @@ namespace OpenTK.Graphics.OpenGL internal extern static unsafe void VertexAttribL4ui64vNV(UInt32 index, UInt64* v); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribLFormat", ExactSpelling = true)] - internal extern static void VertexAttribLFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.ArbVertexAttribBinding type, UInt32 relativeoffset); + internal extern static void VertexAttribLFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDoubleType type, UInt32 relativeoffset); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribLFormatNV", ExactSpelling = true)] internal extern static void VertexAttribLFormatNV(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit type, Int32 stride); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribLPointer", ExactSpelling = true)] - internal extern static void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDPointerType type, Int32 stride, IntPtr pointer); + internal extern static void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDoubleType type, Int32 stride, IntPtr pointer); [System.Security.SuppressUnmanagedCodeSecurity()] [System.Runtime.InteropServices.DllImport(GL.Library, EntryPoint = "glVertexAttribLPointerEXT", ExactSpelling = true)] internal extern static void VertexAttribLPointerEXT(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit type, Int32 stride, IntPtr pointer); diff --git a/Source/OpenTK/Graphics/OpenGL/GLDelegates.cs b/Source/OpenTK/Graphics/OpenGL/GLDelegates.cs index 15ac3be0..025238a1 100644 --- a/Source/OpenTK/Graphics/OpenGL/GLDelegates.cs +++ b/Source/OpenTK/Graphics/OpenGL/GLDelegates.cs @@ -1245,7 +1245,7 @@ namespace OpenTK.Graphics.OpenGL internal delegate void DrawArraysEXT(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count); internal static DrawArraysEXT glDrawArraysEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawArraysIndirect(OpenTK.Graphics.OpenGL.ArbDrawIndirect mode, IntPtr indirect); + internal delegate void DrawArraysIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, IntPtr indirect); internal static DrawArraysIndirect glDrawArraysIndirect; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void DrawArraysInstanced(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count, Int32 instancecount); @@ -1254,7 +1254,7 @@ namespace OpenTK.Graphics.OpenGL internal delegate void DrawArraysInstancedARB(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count, Int32 primcount); internal static DrawArraysInstancedARB glDrawArraysInstancedARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawArraysInstancedBaseInstance(OpenTK.Graphics.OpenGL.ArbBaseInstance mode, Int32 first, Int32 count, Int32 instancecount, UInt32 baseinstance); + internal delegate void DrawArraysInstancedBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 first, Int32 count, Int32 instancecount, UInt32 baseinstance); internal static DrawArraysInstancedBaseInstance glDrawArraysInstancedBaseInstance; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void DrawArraysInstancedEXT(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 start, Int32 count, Int32 primcount); @@ -1281,7 +1281,7 @@ namespace OpenTK.Graphics.OpenGL internal delegate void DrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices); internal static DrawElements glDrawElements; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 basevertex); + internal delegate void DrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 basevertex); internal static DrawElementsBaseVertex glDrawElementsBaseVertex; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void DrawElementsIndirect(OpenTK.Graphics.OpenGL.ArbDrawIndirect mode, OpenTK.Graphics.OpenGL.ArbDrawIndirect type, IntPtr indirect); @@ -1293,13 +1293,13 @@ namespace OpenTK.Graphics.OpenGL internal delegate void DrawElementsInstancedARB(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount); internal static DrawElementsInstancedARB glDrawElementsInstancedARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL.ArbBaseInstance mode, Int32 count, OpenTK.Graphics.OpenGL.ArbBaseInstance type, IntPtr indices, Int32 instancecount, UInt32 baseinstance); + internal delegate void DrawElementsInstancedBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount, UInt32 baseinstance); internal static DrawElementsInstancedBaseInstance glDrawElementsInstancedBaseInstance; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount, Int32 basevertex); + internal delegate void DrawElementsInstancedBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount, Int32 basevertex); internal static DrawElementsInstancedBaseVertex glDrawElementsInstancedBaseVertex; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL.ArbBaseInstance mode, Int32 count, OpenTK.Graphics.OpenGL.ArbBaseInstance type, IntPtr indices, Int32 instancecount, Int32 basevertex, UInt32 baseinstance); + internal delegate void DrawElementsInstancedBaseVertexBaseInstance(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 instancecount, Int32 basevertex, UInt32 baseinstance); internal static DrawElementsInstancedBaseVertexBaseInstance glDrawElementsInstancedBaseVertexBaseInstance; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void DrawElementsInstancedEXT(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount); @@ -1320,7 +1320,7 @@ namespace OpenTK.Graphics.OpenGL internal delegate void DrawRangeElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices); internal static DrawRangeElements glDrawRangeElements; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 basevertex); + internal delegate void DrawRangeElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 basevertex); internal static DrawRangeElementsBaseVertex glDrawRangeElementsBaseVertex; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void DrawRangeElementsEXT(OpenTK.Graphics.OpenGL.PrimitiveType mode, UInt32 start, UInt32 end, Int32 count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices); @@ -3546,7 +3546,7 @@ namespace OpenTK.Graphics.OpenGL internal unsafe delegate void MultiDrawArraysEXT(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* first, Int32* count, Int32 primcount); internal unsafe static MultiDrawArraysEXT glMultiDrawArraysEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void MultiDrawArraysIndirect(OpenTK.Graphics.OpenGL.ArbMultiDrawIndirect mode, IntPtr indirect, Int32 drawcount, Int32 stride); + internal delegate void MultiDrawArraysIndirect(OpenTK.Graphics.OpenGL.PrimitiveType mode, IntPtr indirect, Int32 drawcount, Int32 stride); internal static MultiDrawArraysIndirect glMultiDrawArraysIndirect; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void MultiDrawArraysIndirectAMD(OpenTK.Graphics.OpenGL.AmdMultiDrawIndirect mode, IntPtr indirect, Int32 primcount, Int32 stride); @@ -3558,7 +3558,7 @@ namespace OpenTK.Graphics.OpenGL internal unsafe delegate void MultiDrawElements(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 drawcount); internal unsafe static MultiDrawElements glMultiDrawElements; [System.Security.SuppressUnmanagedCodeSecurity()] - internal unsafe delegate void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.BeginMode mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 drawcount, Int32* basevertex); + internal unsafe delegate void MultiDrawElementsBaseVertex(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 drawcount, Int32* basevertex); internal unsafe static MultiDrawElementsBaseVertex glMultiDrawElementsBaseVertex; [System.Security.SuppressUnmanagedCodeSecurity()] internal unsafe delegate void MultiDrawElementsEXT(OpenTK.Graphics.OpenGL.PrimitiveType mode, Int32* count, OpenTK.Graphics.OpenGL.DrawElementsType type, IntPtr indices, Int32 primcount); @@ -6996,7 +6996,7 @@ namespace OpenTK.Graphics.OpenGL internal delegate void VertexAttribDivisorARB(UInt32 index, UInt32 divisor); internal static VertexAttribDivisorARB glVertexAttribDivisorARB; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.ArbVertexAttribBinding type, bool normalized, UInt32 relativeoffset); + internal delegate void VertexAttribFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribType type, bool normalized, UInt32 relativeoffset); internal static VertexAttribFormat glVertexAttribFormat; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void VertexAttribFormatNV(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, bool normalized, Int32 stride); @@ -7122,13 +7122,13 @@ namespace OpenTK.Graphics.OpenGL internal unsafe delegate void VertexAttribI4usvEXT(UInt32 index, UInt16* v); internal unsafe static VertexAttribI4usvEXT glVertexAttribI4usvEXT; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribIFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.ArbVertexAttribBinding type, UInt32 relativeoffset); + internal delegate void VertexAttribIFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIntegerType type, UInt32 relativeoffset); internal static VertexAttribIFormat glVertexAttribIFormat; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void VertexAttribIFormatNV(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexBufferUnifiedMemory type, Int32 stride); internal static VertexAttribIFormatNV glVertexAttribIFormatNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIPointerType type, Int32 stride, IntPtr pointer); + internal delegate void VertexAttribIPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribIntegerType type, Int32 stride, IntPtr pointer); internal static VertexAttribIPointer glVertexAttribIPointer; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void VertexAttribIPointerEXT(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexProgram4 type, Int32 stride, IntPtr pointer); @@ -7230,13 +7230,13 @@ namespace OpenTK.Graphics.OpenGL internal unsafe delegate void VertexAttribL4ui64vNV(UInt32 index, UInt64* v); internal unsafe static VertexAttribL4ui64vNV glVertexAttribL4ui64vNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribLFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.ArbVertexAttribBinding type, UInt32 relativeoffset); + internal delegate void VertexAttribLFormat(UInt32 attribindex, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDoubleType type, UInt32 relativeoffset); internal static VertexAttribLFormat glVertexAttribLFormat; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void VertexAttribLFormatNV(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.NvVertexAttribInteger64bit type, Int32 stride); internal static VertexAttribLFormatNV glVertexAttribLFormatNV; [System.Security.SuppressUnmanagedCodeSecurity()] - internal delegate void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDPointerType type, Int32 stride, IntPtr pointer); + internal delegate void VertexAttribLPointer(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.VertexAttribDoubleType type, Int32 stride, IntPtr pointer); internal static VertexAttribLPointer glVertexAttribLPointer; [System.Security.SuppressUnmanagedCodeSecurity()] internal delegate void VertexAttribLPointerEXT(UInt32 index, Int32 size, OpenTK.Graphics.OpenGL.ExtVertexAttrib64bit type, Int32 stride, IntPtr pointer); diff --git a/Source/OpenTK/Graphics/OpenGL/GLEnums.cs b/Source/OpenTK/Graphics/OpenGL/GLEnums.cs index 6865d42b..efca3068 100644 --- a/Source/OpenTK/Graphics/OpenGL/GLEnums.cs +++ b/Source/OpenTK/Graphics/OpenGL/GLEnums.cs @@ -21155,7 +21155,7 @@ namespace OpenTK.Graphics.OpenGL } /// - /// Used in GL.DrawArraysInstancedBaseInstance, GL.DrawElementsInstancedBaseInstance, GL.DrawElementsInstancedBaseVertexBaseInstance + /// Not used directly. /// public enum ArbBaseInstance : int { @@ -21641,7 +21641,7 @@ namespace OpenTK.Graphics.OpenGL } /// - /// Used in GL.DrawArraysIndirect, GL.DrawElementsIndirect + /// Used in GL.DrawElementsIndirect /// public enum ArbDrawIndirect : int { @@ -23717,7 +23717,7 @@ namespace OpenTK.Graphics.OpenGL } /// - /// Used in GL.MultiDrawArraysIndirect, GL.MultiDrawElementsIndirect + /// Used in GL.MultiDrawElementsIndirect /// public enum ArbMultiDrawIndirect : int { @@ -26529,7 +26529,7 @@ namespace OpenTK.Graphics.OpenGL } /// - /// Used in GL.VertexAttribFormat, GL.VertexAttribIFormat, GL.VertexAttribLFormat, GL.Ext.VertexArrayVertexAttribFormat, GL.Ext.VertexArrayVertexAttribIFormat, GL.Ext.VertexArrayVertexAttribLFormat + /// Used in GL.Ext.VertexArrayVertexAttribFormat, GL.Ext.VertexArrayVertexAttribIFormat, GL.Ext.VertexArrayVertexAttribLFormat /// public enum ArbVertexAttribBinding : int { @@ -28619,7 +28619,7 @@ namespace OpenTK.Graphics.OpenGL } /// - /// Used in GL.DrawElementsBaseVertex, GL.DrawElementsInstancedBaseVertex, GL.DrawRangeElementsBaseVertex, GL.DrawTransformFeedback, GL.DrawTransformFeedbackStream, GL.MultiDrawElementsBaseVertex + /// Used in GL.DrawTransformFeedback, GL.DrawTransformFeedbackStream /// public enum BeginMode : int { @@ -30154,7 +30154,7 @@ namespace OpenTK.Graphics.OpenGL } /// - /// Used in GL.Arb.DrawElementsInstanced, GL.DrawElements, GL.DrawElementsBaseVertex, GL.DrawElementsInstanced, GL.DrawElementsInstancedBaseVertex, GL.DrawRangeElements, GL.DrawRangeElementsBaseVertex, GL.MultiDrawElements, GL.MultiDrawElementsBaseVertex, GL.Ext.DrawElementsInstanced, GL.Ext.DrawRangeElements, GL.Ext.MultiDrawElements, GL.Ibm.MultiModeDrawElements + /// Used in GL.Arb.DrawElementsInstanced, GL.DrawElements, GL.DrawElementsBaseVertex, GL.DrawElementsInstanced, GL.DrawElementsInstancedBaseInstance, GL.DrawElementsInstancedBaseVertex, GL.DrawElementsInstancedBaseVertexBaseInstance, GL.DrawRangeElements, GL.DrawRangeElementsBaseVertex, GL.MultiDrawElements, GL.MultiDrawElementsBaseVertex, GL.Ext.DrawElementsInstanced, GL.Ext.DrawRangeElements, GL.Ext.MultiDrawElements, GL.Ibm.MultiModeDrawElements /// public enum DrawElementsType : int { @@ -30702,6 +30702,10 @@ namespace OpenTK.Graphics.OpenGL /// RasterizerDiscard = ((int)0x8C89) , /// + /// Original was GL_PRIMITIVE_RESTART_FIXED_INDEX = 0x8D69 + /// + PrimitiveRestartFixedIndex = ((int)0x8D69) , + /// /// Original was GL_FRAMEBUFFER_SRGB = 0x8DB9 /// FramebufferSrgb = ((int)0x8DB9) , @@ -48109,7 +48113,7 @@ namespace OpenTK.Graphics.OpenGL } /// - /// Used in GL.Apple.DrawElementArray, GL.Apple.DrawRangeElementArray, GL.Apple.MultiDrawElementArray, GL.Apple.MultiDrawRangeElementArray, GL.Arb.DrawArraysInstanced, GL.Arb.DrawElementsInstanced, GL.Ati.DrawElementArray, GL.Ati.DrawRangeElementArray, GL.Begin, GL.DrawArrays, GL.DrawArraysInstanced, GL.DrawElements, GL.DrawElementsInstanced, GL.DrawRangeElements, GL.MultiDrawArrays, GL.MultiDrawElements, GL.Ext.DrawArrays, GL.Ext.DrawArraysInstanced, GL.Ext.DrawElementsInstanced, GL.Ext.DrawRangeElements, GL.Ext.MultiDrawArrays, GL.Ext.MultiDrawElements, GL.Ibm.MultiModeDrawArrays, GL.Ibm.MultiModeDrawElements, GL.Sun.DrawMeshArrays + /// Used in GL.Apple.DrawElementArray, GL.Apple.DrawRangeElementArray, GL.Apple.MultiDrawElementArray, GL.Apple.MultiDrawRangeElementArray, GL.Arb.DrawArraysInstanced, GL.Arb.DrawElementsInstanced, GL.Ati.DrawElementArray, GL.Ati.DrawRangeElementArray, GL.Begin, GL.DrawArrays, GL.DrawArraysIndirect, GL.DrawArraysInstanced, GL.DrawArraysInstancedBaseInstance, GL.DrawElements, GL.DrawElementsBaseVertex, GL.DrawElementsInstanced, GL.DrawElementsInstancedBaseInstance, GL.DrawElementsInstancedBaseVertex, GL.DrawElementsInstancedBaseVertexBaseInstance, GL.DrawRangeElements, GL.DrawRangeElementsBaseVertex, GL.MultiDrawArrays, GL.MultiDrawArraysIndirect, GL.MultiDrawElements, GL.MultiDrawElementsBaseVertex, GL.Ext.DrawArrays, GL.Ext.DrawArraysInstanced, GL.Ext.DrawElementsInstanced, GL.Ext.DrawRangeElements, GL.Ext.MultiDrawArrays, GL.Ext.MultiDrawElements, GL.Ibm.MultiModeDrawArrays, GL.Ibm.MultiModeDrawElements, GL.Sun.DrawMeshArrays /// public enum PrimitiveType : int { @@ -48153,6 +48157,26 @@ namespace OpenTK.Graphics.OpenGL /// Original was GL_POLYGON = 0x0009 /// Polygon = ((int)0x0009) , + /// + /// Original was GL_LINES_ADJACENCY = 0x000A + /// + LinesAdjacency = ((int)0x000A) , + /// + /// Original was GL_LINE_STRIP_ADJACENCY = 0x000B + /// + LineStripAdjacency = ((int)0x000B) , + /// + /// Original was GL_TRIANGLES_ADJACENCY = 0x000C + /// + TrianglesAdjacency = ((int)0x000C) , + /// + /// Original was GL_TRIANGLE_STRIP_ADJACENCY = 0x000D + /// + TriangleStripAdjacency = ((int)0x000D) , + /// + /// Original was GL_PATCHES = 0x000E + /// + Patches = ((int)0x000E) , } /// @@ -60234,7 +60258,18 @@ namespace OpenTK.Graphics.OpenGL } /// - /// Used in GL.VertexAttribLPointer + /// Used in GL.VertexAttribLFormat, GL.VertexAttribLPointer + /// + public enum VertexAttribDoubleType : int + { + /// + /// Original was GL_DOUBLE = 0x140A + /// + Double = ((int)0x140A) , + } + + /// + /// Not used directly. /// public enum VertexAttribDPointerType : int { @@ -60245,7 +60280,38 @@ namespace OpenTK.Graphics.OpenGL } /// - /// Used in GL.VertexAttribIPointer + /// Used in GL.VertexAttribIFormat, GL.VertexAttribIPointer + /// + public enum VertexAttribIntegerType : int + { + /// + /// Original was GL_BYTE = 0x1400 + /// + Byte = ((int)0x1400) , + /// + /// Original was GL_UNSIGNED_BYTE = 0x1401 + /// + UnsignedByte = ((int)0x1401) , + /// + /// Original was GL_SHORT = 0x1402 + /// + Short = ((int)0x1402) , + /// + /// Original was GL_UNSIGNED_SHORT = 0x1403 + /// + UnsignedShort = ((int)0x1403) , + /// + /// Original was GL_INT = 0x1404 + /// + Int = ((int)0x1404) , + /// + /// Original was GL_UNSIGNED_INT = 0x1405 + /// + UnsignedInt = ((int)0x1405) , + } + + /// + /// Not used directly. /// public enum VertexAttribIPointerType : int { @@ -60465,6 +60531,61 @@ namespace OpenTK.Graphics.OpenGL Double = ((int)0x140A) , } + /// + /// Used in GL.VertexAttribFormat + /// + public enum VertexAttribType : int + { + /// + /// Original was GL_BYTE = 0x1400 + /// + Byte = ((int)0x1400) , + /// + /// Original was GL_UNSIGNED_BYTE = 0x1401 + /// + UnsignedByte = ((int)0x1401) , + /// + /// Original was GL_SHORT = 0x1402 + /// + Short = ((int)0x1402) , + /// + /// Original was GL_UNSIGNED_SHORT = 0x1403 + /// + UnsignedShort = ((int)0x1403) , + /// + /// Original was GL_INT = 0x1404 + /// + Int = ((int)0x1404) , + /// + /// Original was GL_UNSIGNED_INT = 0x1405 + /// + UnsignedInt = ((int)0x1405) , + /// + /// Original was GL_FLOAT = 0x1406 + /// + Float = ((int)0x1406) , + /// + /// Original was GL_DOUBLE = 0x140A + /// + Double = ((int)0x140A) , + /// + /// Original was GL_HALF_FLOAT = 0x140B + /// + HalfFloat = ((int)0x140B) , + /// + /// Original was GL_FIXED = 0x140C + /// + Fixed = ((int)0x140C) , + /// + /// Original was GL_UNSIGNED_INT_2_10_10_10_REV = 0x8368 + /// + UnsignedInt2101010Rev = ((int)0x8368) , + /// + /// Original was GL_INT_2_10_10_10_REV = 0x8D9F + /// + Int2101010Rev = ((int)0x8D9F) , + } + /// /// Used in GL.VertexPointer, GL.Ext.VertexPointer, GL.Ibm.VertexPointerList, GL.Intel.ColorPointer, GL.Intel.TexCoordPointer, GL.Intel.VertexPointer ///